apiVersion: v1
kind: Service
metadata:
  name: my-nginx
  labels:
    run: my-nginx
spec:
  type: NodePort
  ports:
  - port: 8080
    targetPort: 80
    protocol: TCP
    name: http
  - port: 443
    protocol: TCP
    name: https
  selector:
    run: my-nginx

相关文章:

  • 2021-08-20
  • 2022-12-23
  • 2021-08-12
  • 2022-02-05
  • 2021-08-08
  • 2022-12-23
  • 2021-06-07
猜你喜欢
  • 2022-12-23
  • 2022-02-13
  • 2021-12-11
  • 2022-02-24
  • 2022-01-08
相关资源
相似解决方案