Created
June 23, 2021 16:10
-
-
Save MJjainam/42d669e0087fc1a6e8bb7436adac998c to your computer and use it in GitHub Desktop.
K8s Service file for Ipv6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: nginx-svc | |
spec: | |
ipFamilies: | |
- IPv6 | |
ipFamilyPolicy: SingleStack | |
ports: | |
- name: 32323-80 | |
port: 32323 | |
protocol: TCP | |
targetPort: 80 <Change this> | |
nodePort: 32323 | |
selector: | |
run: nginx <Change this> | |
type: NodePort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment