File tree Expand file tree Collapse file tree
containerd/certs.d/_default Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,14 @@ nodes:
1515 protocol : tcp
1616 kubeadmConfigPatches :
1717 - |
18- kind: ClusterConfiguration
19- apiServer:
20- extraArgs:
21- enable-admission-plugins: OwnerReferencesPermissionEnforcement
18+ kind: InitConfiguration
19+ nodeRegistration:
20+ kubeletExtraArgs:
21+ node-labels: "ingress-ready=true"
22+ extraMounts :
23+ - hostPath : ./testdata/containerd/certs.d
24+ containerPath : /etc/containerd/certs.d
25+ containerdConfigPatches :
26+ - |-
27+ [plugins."io.containerd.grpc.v1.cri".registry]
28+ config_path = "/etc/containerd/certs.d"
Original file line number Diff line number Diff line change 4444 - ${name} .${namespace} .svc.cluster.local
4545 - ${name} -controller-manager-metrics-service.${namespace} .svc
4646 - ${name} -controller-manager-metrics-service.${namespace} .svc.cluster.local
47+ - localhost
4748 privateKey:
4849 algorithm: ECDSA
4950 size: 256
7172 spec:
7273 containers:
7374 - name: registry
74- image: ${image}
75+ image: registry:2
7576 imagePullPolicy: IfNotPresent
76- command:
77- - /registry
78- args:
79- - "--registry-address=:5000"
8077 volumeMounts:
8178 - name: certs-vol
8279 mountPath: "/certs"
Original file line number Diff line number Diff line change 1+ [host ."localhost:30000" ]
2+ capabilities = [" pull" , " resolve" ]
3+ skip_verify = true
You can’t perform that action at this time.
0 commit comments