Skip to content

Instantly share code, notes, and snippets.

@hydrz
Last active November 25, 2019 14:59
Show Gist options
  • Save hydrz/dc1cb475f2d2a93aeae1aa44d594c026 to your computer and use it in GitHub Desktop.
Save hydrz/dc1cb475f2d2a93aeae1aa44d594c026 to your computer and use it in GitHub Desktop.
k8s ingress port规范
spec:
clusterIP: 10.241.15.142
externalTrafficPolicy: Local
healthCheckNodePort: 31914
ports:
- name: http
nodePort: 30080
port: 80
protocol: TCP
targetPort: 80
- name: https
nodePort: 30443
port: 443
protocol: TCP
targetPort: 443
- name: ssh
nodePort: 30022
port: 22
protocol: TCP
targetPort: 22
- name: openvpn
nodePort: 31194
port: 1194
protocol: TCP
targetPort: 1194
- name: mysql
nodePort: 30036
port: 3306
protocol: TCP
targetPort: 3306
- name: postgres
nodePort: 30052
port: 5432
protocol: TCP
targetPort: 5432
- name: kafak
nodePort: 31090
port: 9092
protocol: TCP
targetPort: 9092
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment