Persist Application PVC Data During SMCP Upgrade
Problem
Environment
Cause
Resolution
apiVersion: apps/v1
kind: StatefulSet
metadata:
creationTimestamp: null
labels:
app: busybox
name: busybox
spec:
replicas: 3
selector:
matchLabels:
app: busybox
template:
metadata:
creationTimestamp: null
labels:
app: busybox
spec:
containers:
- image: busybox
name: busybox
resources: {}
command: ["/bin/sh"]
args: ["-c", "sleep 600"]
volumeMounts:
- name: bb-volume
mountPath: /mydata
volumeClaimTemplates:
- metadata:
name: bb-volume
namespace: default
spec:
storageClassName: local-path
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
status: {}BEFORE UPGRADE
AFTER UPGRADE
PreviousHow to Replace clusterDomain From the Default Value local?Nextpf9-containerproxy.service is in Failed State on Platform9 Management Plane?
Last updated
