node-agent
This commit is contained in:
@@ -3594,6 +3594,90 @@ spec:
|
||||
- emptyDir: {}
|
||||
name: scratch
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: velero
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: velero
|
||||
helm.sh/chart: velero-7.0.0
|
||||
name: node-agent
|
||||
namespace: velero
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
name: node-agent
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/secret: b9754ca4d83dab2f2e3ce5d2f763c69ed92c2298dc2737084680716557250af3
|
||||
prometheus.io/path: /metrics
|
||||
prometheus.io/port: "8085"
|
||||
prometheus.io/scrape: "true"
|
||||
labels:
|
||||
app.kubernetes.io/instance: velero
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: velero
|
||||
helm.sh/chart: velero-7.0.0
|
||||
name: node-agent
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- node-agent
|
||||
- server
|
||||
- --features=EnableCSI
|
||||
command:
|
||||
- /velero
|
||||
env:
|
||||
- name: VELERO_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
- name: VELERO_SCRATCH_DIR
|
||||
value: /scratch
|
||||
- name: AWS_SHARED_CREDENTIALS_FILE
|
||||
value: /credentials/cloud
|
||||
- name: GOOGLE_APPLICATION_CREDENTIALS
|
||||
value: /credentials/cloud
|
||||
- name: AZURE_CREDENTIALS_FILE
|
||||
value: /credentials/cloud
|
||||
- name: ALIBABA_CLOUD_CREDENTIALS_FILE
|
||||
value: /credentials/cloud
|
||||
image: velero/velero:v1.15.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: node-agent
|
||||
ports:
|
||||
- containerPort: 8085
|
||||
name: http-monitoring
|
||||
securityContext: null
|
||||
volumeMounts:
|
||||
- mountPath: /credentials
|
||||
name: cloud-credentials
|
||||
- mountPath: /host_pods
|
||||
mountPropagation: HostToContainer
|
||||
name: host-pods
|
||||
- mountPath: /scratch
|
||||
name: scratch
|
||||
dnsPolicy: ClusterFirst
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
serviceAccountName: velero-server
|
||||
terminationGracePeriodSeconds: 3600
|
||||
volumes:
|
||||
- name: cloud-credentials
|
||||
secret:
|
||||
secretName: velero
|
||||
- hostPath:
|
||||
path: /var/lib/kubelet/pods
|
||||
name: host-pods
|
||||
- emptyDir: {}
|
||||
name: scratch
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user