Skip to content

Instantly share code, notes, and snippets.

@nleiva
Created July 16, 2018 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nleiva/632e88a7639868dc6975624b95986821 to your computer and use it in GitHub Desktop.
Save nleiva/632e88a7639868dc6975624b95986821 to your computer and use it in GitHub Desktop.
# ...
apiVersion: v1
kind: Service
metadata:
name: kube-dns
namespace: kube-system
labels:
k8s-app: kube-dns
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "KubeDNS"
spec:
selector:
k8s-app: kube-dns
clusterIP: 10.32.0.10
ports:
- name: dns
port: 53
protocol: UDP
- name: dns-tcp
port: 53
protocol: TCP
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment