mirror of
https://github.com/1Panel-dev/KubePi.git
synced 2025-12-24 13:38:10 +08:00
kubectl 部署开启 privileged
This commit is contained in:
@@ -79,6 +79,8 @@ spec:
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
securityContext:
|
||||
privileged: true
|
||||
volumeMounts:
|
||||
- name: kubepi-persistent-storage
|
||||
mountPath: /var/lib/kubepi
|
||||
|
||||
@@ -61,4 +61,6 @@ spec:
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
protocol: TCP
|
||||
securityContext:
|
||||
privileged: true
|
||||
Reference in New Issue
Block a user