Update the kubeadm config API roundtrip yaml files

This commit is contained in:
Lucas Käldström 2018-07-08 21:33:28 +03:00
parent 17b3b28190
commit 699949fc87
No known key found for this signature in database
GPG Key ID: 3FA3783D77751514
3 changed files with 223 additions and 218 deletions

View File

@ -25,8 +25,20 @@ etcd:
image: "" image: ""
imageRepository: k8s.gcr.io imageRepository: k8s.gcr.io
kind: MasterConfiguration kind: MasterConfiguration
kubeProxy: kubernetesVersion: v1.10.2
config: networking:
dnsDomain: cluster.local
podSubnet: ""
serviceSubnet: 10.96.0.0/12
nodeRegistration:
criSocket: /var/run/dockershim.sock
name: master-1
taints:
- effect: NoSchedule
key: node-role.kubernetes.io/master
unifiedControlPlaneImage: ""
---
apiVersion: kubeproxy.config.k8s.io/v1alpha1
bindAddress: 0.0.0.0 bindAddress: 0.0.0.0
clientConnection: clientConnection:
acceptContentTypes: "" acceptContentTypes: ""
@ -58,6 +70,7 @@ kubeProxy:
minSyncPeriod: 0s minSyncPeriod: 0s
scheduler: "" scheduler: ""
syncPeriod: 30s syncPeriod: 30s
kind: KubeProxyConfiguration
metricsBindAddress: 127.0.0.1:10249 metricsBindAddress: 127.0.0.1:10249
mode: iptables mode: iptables
nodePortAddresses: null nodePortAddresses: null
@ -65,9 +78,9 @@ kubeProxy:
portRange: "" portRange: ""
resourceContainer: /kube-proxy resourceContainer: /kube-proxy
udpIdleTimeout: 250ms udpIdleTimeout: 250ms
kubeletConfiguration: ---
baseConfig:
address: 1.2.3.4 address: 1.2.3.4
apiVersion: kubelet.config.k8s.io/v1beta1
authentication: authentication:
anonymous: anonymous:
enabled: false enabled: false
@ -116,6 +129,7 @@ kubeletConfiguration:
imageMinimumGCAge: 2m0s imageMinimumGCAge: 2m0s
iptablesDropBit: 15 iptablesDropBit: 15
iptablesMasqueradeBit: 14 iptablesMasqueradeBit: 14
kind: KubeletConfiguration
kubeAPIBurst: 10 kubeAPIBurst: 10
kubeAPIQPS: 5 kubeAPIQPS: 5
makeIPTablesUtilChains: true makeIPTablesUtilChains: true
@ -135,15 +149,3 @@ kubeletConfiguration:
streamingConnectionIdleTimeout: 4h0m0s streamingConnectionIdleTimeout: 4h0m0s
syncFrequency: 1m0s syncFrequency: 1m0s
volumeStatsAggPeriod: 1m0s volumeStatsAggPeriod: 1m0s
kubernetesVersion: v1.10.2
networking:
dnsDomain: cluster.local
podSubnet: ""
serviceSubnet: 10.96.0.0/12
nodeRegistration:
criSocket: /var/run/dockershim.sock
name: master-1
taints:
- effect: NoSchedule
key: node-role.kubernetes.io/master
unifiedControlPlaneImage: ""

View File

@ -23,8 +23,20 @@ etcd:
image: "" image: ""
imageRepository: my-company.com imageRepository: my-company.com
kind: MasterConfiguration kind: MasterConfiguration
kubeProxy: kubernetesVersion: v1.10.2
config: networking:
dnsDomain: cluster.global
podSubnet: 10.148.0.0/16
serviceSubnet: 10.196.0.0/12
nodeRegistration:
criSocket: /var/run/criruntime.sock
name: master-1
taints:
- effect: NoSchedule
key: node-role.kubernetes.io/master
unifiedControlPlaneImage: ""
---
apiVersion: kubeproxy.config.k8s.io/v1alpha1
bindAddress: 0.0.0.0 bindAddress: 0.0.0.0
clientConnection: clientConnection:
acceptContentTypes: "" acceptContentTypes: ""
@ -32,7 +44,7 @@ kubeProxy:
contentType: application/vnd.kubernetes.protobuf contentType: application/vnd.kubernetes.protobuf
kubeconfig: /var/lib/kube-proxy/kubeconfig.conf kubeconfig: /var/lib/kube-proxy/kubeconfig.conf
qps: 5 qps: 5
clusterCIDR: "" clusterCIDR: 10.148.0.0/16
configSyncPeriod: 15m0s configSyncPeriod: 15m0s
conntrack: conntrack:
max: null max: null
@ -53,6 +65,7 @@ kubeProxy:
minSyncPeriod: 0s minSyncPeriod: 0s
scheduler: "" scheduler: ""
syncPeriod: 30s syncPeriod: 30s
kind: KubeProxyConfiguration
metricsBindAddress: 127.0.0.1:10249 metricsBindAddress: 127.0.0.1:10249
mode: "" mode: ""
nodePortAddresses: null nodePortAddresses: null
@ -60,9 +73,9 @@ kubeProxy:
portRange: "" portRange: ""
resourceContainer: /kube-proxy resourceContainer: /kube-proxy
udpIdleTimeout: 250ms udpIdleTimeout: 250ms
kubeletConfiguration: ---
baseConfig:
address: 0.0.0.0 address: 0.0.0.0
apiVersion: kubelet.config.k8s.io/v1beta1
authentication: authentication:
anonymous: anonymous:
enabled: false enabled: false
@ -111,6 +124,7 @@ kubeletConfiguration:
imageMinimumGCAge: 2m0s imageMinimumGCAge: 2m0s
iptablesDropBit: 15 iptablesDropBit: 15
iptablesMasqueradeBit: 14 iptablesMasqueradeBit: 14
kind: KubeletConfiguration
kubeAPIBurst: 10 kubeAPIBurst: 10
kubeAPIQPS: 5 kubeAPIQPS: 5
makeIPTablesUtilChains: true makeIPTablesUtilChains: true
@ -130,15 +144,3 @@ kubeletConfiguration:
streamingConnectionIdleTimeout: 4h0m0s streamingConnectionIdleTimeout: 4h0m0s
syncFrequency: 1m0s syncFrequency: 1m0s
volumeStatsAggPeriod: 1m0s volumeStatsAggPeriod: 1m0s
kubernetesVersion: v1.10.2
networking:
dnsDomain: cluster.global
podSubnet: ""
serviceSubnet: 10.196.0.0/12
nodeRegistration:
criSocket: /var/run/criruntime.sock
name: master-1
taints:
- effect: NoSchedule
key: node-role.kubernetes.io/master
unifiedControlPlaneImage: ""

View File

@ -12,6 +12,7 @@ kubernetesVersion: v1.10.2
networking: networking:
dnsDomain: cluster.global dnsDomain: cluster.global
serviceSubnet: 10.196.0.0/12 serviceSubnet: 10.196.0.0/12
podSubnet: 10.148.0.0/16
nodeRegistration: nodeRegistration:
criSocket: /var/run/criruntime.sock criSocket: /var/run/criruntime.sock
name: master-1 name: master-1