I have installed below helm chart with helm v2 with below command.
helm2 install stable/tensorflow-notebook -n tf2
It created below resources.
NAME READY STATUS RESTARTS AGE
pod/tf2-tensorflow-notebook-67c5df968b-rlhsm 0/2 ContainerCreating 0 89s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/tf2-tensorflow-notebook LoadBalancer 10.0.148.137 13.83.244.95 6006:32351/TCP,8888:32147/TCP 89s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/tf2-tensorflow-notebook 0/1 1 0 90s
NAME DESIRED CURRENT READY AGE
replicaset.apps/tf2-tensorflow-notebook-67c5df968b 1 1 0 90s
This release created revision in kube-system namespace as configmap.
tf2.v1 1 114s
took backup of configmap using below command.
kubectl get configmap -n kube-system -l "OWNER=TILLER" -o yaml > mychart/template/helm_release.yaml
deleted helm "tf2" release.
helm2 delete tf2
helm2 delete --purge tf2
I tried below command for recreating resources. reference ref1.
helm2 install --name tf3 ./mychart
getting below error:
Error: no Chart.yaml exists in directory "/home/username/mychart"
Now, I want to create/restore resources/release "tf2" from configmap backup. I'm less sure about this, If we can create resouces out of this configmap.