АГ
Size: a a a
АГ
4
4
- target:
version: v1
group: apps
kind: Deployment
name: prometheus-operator
namespace: monitoring
patch:
- op: add
path: /spec/template/spec/tolerations
value: {{- toYaml .Environment.Values.tolerations | nindent 6 }}
4
АГ
- target:
version: v1
group: apps
kind: Deployment
name: prometheus-operator
namespace: monitoring
patch:
- op: add
path: /spec/template/spec/tolerations
value: {{- toYaml .Environment.Values.tolerations | nindent 6 }}
4
# Create a patch increase_replicas.yaml
cat <<EOF > increase_replicas.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-nginx
spec:
replicas: 3
EOF
4
cat <<EOF >./kustomization.yaml
resources:
- deployment.yaml
patchesStrategicMerge:
- increase_replicas.yaml
- set_memory.yaml
EOF
4
DS
4
4
DS
DS
4
4
DS
4
DS
4
DS