node-agent
This commit is contained in:
@@ -3594,6 +3594,90 @@ spec:
|
|||||||
- emptyDir: {}
|
- emptyDir: {}
|
||||||
name: scratch
|
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
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -345,7 +345,7 @@ configuration:
|
|||||||
config:
|
config:
|
||||||
region: nas
|
region: nas
|
||||||
s3ForcePathStyle: true
|
s3ForcePathStyle: true
|
||||||
s3Url: http://192.168.10.1:9000
|
s3Url: http://s3.home:9000
|
||||||
# kmsKeyId:
|
# kmsKeyId:
|
||||||
# resourceGroup:
|
# resourceGroup:
|
||||||
# The ID of the subscription containing the storage account, if different from the cluster’s subscription. (Azure only)
|
# The ID of the subscription containing the storage account, if different from the cluster’s subscription. (Azure only)
|
||||||
@@ -535,7 +535,7 @@ backupsEnabled: true
|
|||||||
snapshotsEnabled: true
|
snapshotsEnabled: true
|
||||||
|
|
||||||
# Whether to deploy the node-agent daemonset.
|
# Whether to deploy the node-agent daemonset.
|
||||||
deployNodeAgent: false
|
deployNodeAgent: true
|
||||||
|
|
||||||
nodeAgent:
|
nodeAgent:
|
||||||
podVolumePath: /var/lib/kubelet/pods
|
podVolumePath: /var/lib/kubelet/pods
|
||||||
|
|||||||
Reference in New Issue
Block a user