i already have jenkins pod on my microk8s and i have install plugin in it, but after trying to reboot my VM the plugin data inside the jenkins pod is gone then i should go install it again
this my config.yml:
apiVersion: v1
kind: Pod
metadata:
name: jenkins-controller
labels:
app: jenkins-controller
spec:
restartPolicy: Always
containers:
- name: jenkins-controller
image: jenkins/jenkins:latest
securityContext:
allowPrivilegeEscalation: false
runAsUser: 0
ports:
- containerPort: 8080
name: web
- containerPort: 50000
name: tunnel
---
apiVersion: v1
kind: Service
metadata:
name: jenkins-controller-service
spec:
type: NodePort
selector:
app: jenkins-controller
ports:
- port: 8080
targetPort: 8080
nodePort: 30007
---
apiVersion: v1
kind: Service
metadata:
name: jenkins-controller-service2
spec:
type: NodePort
selector:
app: jenkins-controller
ports:
- port: 50000
targetPort: 50000
nodePort: 30010
Any help?