mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
114 lines
2.7 KiB
Plaintext
114 lines
2.7 KiB
Plaintext
{
|
|
"apiVersion": "v1",
|
|
"kind": "Pod",
|
|
"metadata": {
|
|
"name":"cloud-controller-manager",
|
|
"namespace": "kube-system",
|
|
"labels": {
|
|
"tier": "control-plane",
|
|
"component": "cloud-controller-manager"
|
|
}
|
|
},
|
|
"spec":{
|
|
"securityContext": {
|
|
{{runAsUser}}
|
|
{{runAsGroup}}
|
|
{{supplementalGroups}}
|
|
"seccompProfile": {
|
|
"type": "RuntimeDefault"
|
|
}
|
|
},
|
|
"priorityClassName": "system-node-critical",
|
|
"hostNetwork": true,
|
|
"containers":[
|
|
{
|
|
"name": "cloud-controller-manager",
|
|
"image": "gcr.io/k8s-staging-cloud-provider-gcp/cloud-controller-manager:v1.25.2-alpha_ae91c1fc0c443c464a4c878ffa2a4544483c6d1f",
|
|
"resources": {
|
|
"requests": {
|
|
"cpu": "{{cpurequest}}"
|
|
}
|
|
},
|
|
"command": ["/cloud-controller-manager"],
|
|
"args": [
|
|
"--log-file=/var/log/cloud-controller-manager.log",
|
|
"--logtostderr=false",
|
|
{{params}}
|
|
],
|
|
{{container_env}}
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"host": "127.0.0.1",
|
|
"port": 10258,
|
|
"scheme": "HTTPS",
|
|
"path": "/healthz"
|
|
},
|
|
"initialDelaySeconds": 15,
|
|
"timeoutSeconds": 15
|
|
},
|
|
"volumeMounts": [
|
|
{{cloud_config_mount}}
|
|
{{additional_cloud_config_mount}}
|
|
{{pv_recycler_mount}}
|
|
{ "name": "srvkube",
|
|
"mountPath": "/etc/srv/kubernetes",
|
|
"readOnly": true},
|
|
{{flexvolume_hostpath_mount}}
|
|
{ "name": "logfile",
|
|
"mountPath": "/var/log/cloud-controller-manager.log",
|
|
"readOnly": false},
|
|
{ "name": "etcssl",
|
|
"mountPath": "/etc/ssl",
|
|
"readOnly": true},
|
|
{ "name": "usrsharecacerts",
|
|
"mountPath": "/usr/share/ca-certificates",
|
|
"readOnly": true},
|
|
{ "name": "varssl",
|
|
"mountPath": "/var/ssl",
|
|
"readOnly": true},
|
|
{ "name": "etcopenssl",
|
|
"mountPath": "/etc/openssl",
|
|
"readOnly": true},
|
|
{ "name": "etcpki",
|
|
"mountPath": "/etc/pki",
|
|
"readOnly": true}
|
|
]
|
|
}
|
|
],
|
|
"volumes":[
|
|
{{cloud_config_volume}}
|
|
{{additional_cloud_config_volume}}
|
|
{{pv_recycler_volume}}
|
|
{ "name": "srvkube",
|
|
"hostPath": {
|
|
"path": "/etc/srv/kubernetes"}
|
|
},
|
|
{{flexvolume_hostpath}}
|
|
{ "name": "logfile",
|
|
"hostPath": {
|
|
"path": "/var/log/cloud-controller-manager.log",
|
|
"type": "FileOrCreate"}
|
|
},
|
|
{ "name": "etcssl",
|
|
"hostPath": {
|
|
"path": "/etc/ssl"}
|
|
},
|
|
{ "name": "usrsharecacerts",
|
|
"hostPath": {
|
|
"path": "/usr/share/ca-certificates"}
|
|
},
|
|
{ "name": "varssl",
|
|
"hostPath": {
|
|
"path": "/var/ssl"}
|
|
},
|
|
{ "name": "etcopenssl",
|
|
"hostPath": {
|
|
"path": "/etc/openssl"}
|
|
},
|
|
{ "name": "etcpki",
|
|
"hostPath": {
|
|
"path": "/etc/pki"}
|
|
}
|
|
]
|
|
}}
|