Just modify the service and do a kubectl apply -f <modified file here>
IIUC, that is all. Can you try that? :) On Friday, June 30, 2017, Norman Khine <nor...@khine.net> wrote: > Hello, I have installed mongodb using the helm chart, > https://github.com/kubernetes/charts/blob/master/stable/ > mongodb-replicaset/templates/mongodb-service.yaml#L17, what is the > correct way to update the Type and IP for this service, currently it is: > > ➜ k8s git:(master) kubectl describe svc trint-mongo-mongodb-replicaset > --context > zapotec > > (git)-[ > master] > Name: test-mongo-mongodb-replicaset > Namespace: dev > Labels: app=mongodb-replicaset > chart=mongodb-replicaset-0.2.0 > heritage=Tiller > release=test-mongo > Annotations: service.alpha.kubernetes.io/tolerate-unready-endpoints=true > Selector: app=mongodb-replicaset,release=test-mongo > Type: ClusterIP > IP: None > Port: peer 27017/TCP > Endpoints: 10.2.6.6:27017,10.2.84.5:27017,10.2.84.6:27017 > Session Affinity: None > Events: <none> > > > or would I have to rebuild it from the helm chart? > > any advise is much appreciated > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com > <javascript:_e(%7B%7D,'cvml','kubernetes-users%2bunsubscr...@googlegroups.com');> > . > To post to this group, send email to kubernetes-users@googlegroups.com > <javascript:_e(%7B%7D,'cvml','kubernetes-users@googlegroups.com');>. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.