-
-
Save nexus166/8481364d7fe0ece7fa09bef768803786 to your computer and use it in GitHub Desktop.
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: kubeadm.k8s.io/v1beta1 | |
| kind: ClusterConfiguration | |
| kubernetesVersion: v1.14.3 # change according to kubeadm supported version | |
| apiServer: | |
| certSANs: | |
| - 127.0.0.1 | |
| - cluster-api.example.com # change according to your requirements | |
| extraArgs: | |
| authorization-mode: Node,RBAC | |
| feature-gates: "TTLAfterFinished=true" | |
| audit-policy-file: "/etc/kubernetes/audit-policy.yaml" | |
| audit-log-path: "/etc/kubernetes/audit/kube-apiserver-audit.log" | |
| audit-log-maxage: "2" | |
| extraVolumes: | |
| - name: "audit-policy" | |
| hostPath: "/etc/kubernetes/audit-policy.yaml" | |
| mountPath: "/etc/kubernetes/audit-policy.yaml" | |
| readOnly: false | |
| pathType: File | |
| - name: "audit-volume" | |
| hostPath: "/var/log/kubernetes/audit" | |
| mountPath: "/etc/kubernetes/audit" | |
| readOnly: false | |
| pathType: DirectoryOrCreate | |
| timeoutForControlPlane: 4m0s | |
| certificatesDir: /etc/kubernetes/pki | |
| clusterName: kubernetes | |
| controlPlaneEndpoint: "" | |
| controllerManager: | |
| extraArgs: | |
| feature-gates: "TTLAfterFinished=true" | |
| bind-address: 0.0.0.0 | |
| dns: | |
| type: CoreDNS | |
| etcd: | |
| local: | |
| dataDir: /var/lib/etcd | |
| imageRepository: k8s.gcr.io | |
| networking: | |
| dnsDomain: cluster.local | |
| podSubnet: 192.168.0.0/16 # change according to your requirements | |
| serviceSubnet: 10.96.0.0/12 # change according to your requirements | |
| scheduler: | |
| extraArgs: | |
| feature-gates: "TTLAfterFinished=true" | |
| bind-address: 0.0.0.0 | |
| --- | |
| apiVersion: kubelet.config.k8s.io/v1beta1 | |
| kind: KubeletConfiguration | |
| FeatureGates: | |
| TTLAfterFinished: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment