back to deployment
This commit is contained in:
parent
954b5c0d61
commit
162cc1613f
2 changed files with 114 additions and 99 deletions
|
|
@ -70,16 +70,24 @@ subjects:
|
|||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: pve-cloud-controller-manager
|
||||
namespace: kube-system
|
||||
labels:
|
||||
app: pve-cloud-controller-manager
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: pve-cloud-controller-manager
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: pve-cloud-controller-manager
|
||||
spec:
|
||||
priorityClassName: system-node-critical
|
||||
#hostNetwork: true
|
||||
containers:
|
||||
- args:
|
||||
- --cloud-config=/etc/kubernetes/pve.json
|
||||
|
|
@ -102,19 +110,19 @@ spec:
|
|||
cpu: 100m
|
||||
memory: 50Mi
|
||||
volumeMounts:
|
||||
- name: etc-kubernetes
|
||||
mountPath: /etc/kubernetes
|
||||
- name: config
|
||||
mountPath: /etc/kubernetes/pve.json
|
||||
readOnly: true
|
||||
- name: etc-ssl
|
||||
mountPath: /etc/ssl
|
||||
- name: ca-certs
|
||||
mountPath: /etc/ssl/certs
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: etc-kubernetes
|
||||
- name: config
|
||||
hostPath:
|
||||
path: /etc/kubernetes
|
||||
- name: etc-ssl
|
||||
path: /etc/kubernetes/pve.json
|
||||
- name: ca-certs
|
||||
hostPath:
|
||||
path: /etc/ssl
|
||||
path: /etc/ssl/certs
|
||||
dnsPolicy: Default
|
||||
serviceAccountName: cloud-controller-manager
|
||||
tolerations:
|
||||
|
|
@ -127,4 +135,3 @@ spec:
|
|||
key: node-role.kubernetes.io/master
|
||||
- effect: NoSchedule
|
||||
key: node.kubernetes.io/not-ready
|
||||
|
||||
|
|
|
|||
|
|
@ -46,16 +46,24 @@ subjects:
|
|||
namespace: kube-system
|
||||
name: pve-csr-approver
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: pve-csr-approver-manager
|
||||
namespace: kube-system
|
||||
labels:
|
||||
app: pve-csr-approver-manager
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: pve-csr-approver-manager
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: pve-csr-approver-manager
|
||||
spec:
|
||||
priorityClassName: system-node-critical
|
||||
#hostNetwork: true
|
||||
containers:
|
||||
- args:
|
||||
- --cloud-config=/etc/kubernetes/pve.json
|
||||
|
|
@ -74,19 +82,19 @@ spec:
|
|||
cpu: 100m
|
||||
memory: 50Mi
|
||||
volumeMounts:
|
||||
- name: etc-kubernetes
|
||||
mountPath: /etc/kubernetes
|
||||
- name: config
|
||||
mountPath: /etc/kubernetes/pve.json
|
||||
readOnly: true
|
||||
- name: etc-ssl
|
||||
mountPath: /etc/ssl
|
||||
- name: ca-certs
|
||||
mountPath: /etc/ssl/certs
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: etc-kubernetes
|
||||
- name: config
|
||||
hostPath:
|
||||
path: /etc/kubernetes
|
||||
- name: etc-ssl
|
||||
path: /etc/kubernetes/pve.json
|
||||
- name: ca-certs
|
||||
hostPath:
|
||||
path: /etc/ssl
|
||||
path: /etc/ssl/certs
|
||||
dnsPolicy: Default
|
||||
serviceAccountName: pve-csr-approver
|
||||
tolerations:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue