Documentation ¶
Index ¶
- Variables
- func CreateClusterDns(mgr *manager.Manager) error
- func DeployNodelocaldns(mgr *manager.Manager, clusterIP string) error
- func GenerateCorednsService(mgr *manager.Manager) (string, error)
- func GenerateNodelocaldnsConfigMap(mgr *manager.Manager, clusterIP string) (string, error)
- func GenerateNodelocaldnsService(mgr *manager.Manager) (string, error)
- func OverrideCorednsService(mgr *manager.Manager) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CorednsServiceTempl = template.Must(template.New("CorednsService").Parse( dedent.Dedent(`--- apiVersion: v1 kind: Service metadata: name: coredns namespace: kube-system labels: k8s-app: kube-dns kubernetes.io/cluster-service: "true" kubernetes.io/name: "coredns" addonmanager.kubernetes.io/mode: Reconcile annotations: prometheus.io/port: "9153" prometheus.io/scrape: "true" spec: selector: k8s-app: kube-dns clusterIP: {{ .ClusterIP }} ports: - name: dns port: 53 protocol: UDP - name: dns-tcp port: 53 protocol: TCP - name: metrics port: 9153 protocol: TCP `))) )
Functions ¶
func CreateClusterDns ¶
func OverrideCorednsService ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.