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.
helm fetchthe original chart, and save the values you used to install it in source control, and thenhelm installit in an identical way in a different environment. - David Mazehelm2 install stable/tensorflow-notebook -n tf2, It created deployment and service. Currently under kube-system below are created configmaps. tf2.v1 10s When I deploy the release from configmap backup, i.e.helm2 install --name tf3 ./mychartwhich creates the helm release for configmap. Which is nature of K8S. Currently under kube-system below are created configmaps. tf3 5s tf2.v1 5s What I am looking for is deployment and service under tf2.v1 release. - navnath bagade