Error kubectl edit deployment during configuration of admission controller in the Federation API server

1,548 views
Skip to first unread message

nir...@gmail.com

unread,
Apr 7, 2018, 10:09:54 AM4/7/18
to Kubernetes user discussion and Q&A
Hi

as part in of installation of OPA- placement policies
https://kubernetes.io/docs/tasks/federation/set-up-placement-policies-federation/

I'm trying to edit api- federation deployment

"kubectl -n federation-system edit deployment apiserver"

the edit deployment file opened and when i make the changes of adding volume and flags to container im getting the error:

"A copy of your changes has been stored to "/tmp/kubectl-edit-hv5dh.yaml"
error: map: map[] does not contain declared merge key: name"

and I don't know why.

i don't think is syntax error.

can someone help with?

Thanks,
Nir

Ram Sahay

unread,
Apr 7, 2018, 2:22:24 PM4/7/18
to kubernet...@googlegroups.com
Hi

i am facing the problem in copy server to local please bellow path.
scp root@$MASTER_IP:/etc/kubernetes/admin.conf.


--
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+unsubscribe@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.

Nir Cohen

unread,
Apr 7, 2018, 2:31:44 PM4/7/18
to Kubernetes user discussion and Q&A

what is mean copy server to local?
i installed federation api on the master

בתאריך יום שבת, 7 באפריל 2018 בשעה 21:22:24 UTC+3, מאת Ram Sahay:
Hi

i am facing the problem in copy server to local please bellow path.
scp root@$MASTER_IP:/etc/kubernetes/admin.conf.
On Sat, Apr 7, 2018 at 7:39 PM, <nir...@gmail.com> wrote:
Hi

as part in of installation of OPA- placement policies
https://kubernetes.io/docs/tasks/federation/set-up-placement-policies-federation/

I'm trying to edit api- federation deployment

"kubectl -n federation-system edit deployment apiserver"

the edit deployment file opened and when i make the changes of adding volume and flags to container im getting the error:

"A copy of your changes has been stored to "/tmp/kubectl-edit-hv5dh.yaml"
error: map: map[] does not contain declared merge key: name"

and I don't know why.

i don't think is syntax error.

can someone help with?

Thanks,
Nir

--
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-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.

Ram Sahay

unread,
Apr 9, 2018, 1:19:02 AM4/9/18
to kubernet...@googlegroups.com
Hi Nir Cohen

         My machine master and node is running  but local not runing all time error show please see error

Unable to connect to the server: dial tcp 172.31.29.248:6443: i/o timeout

Thanks
Ramsahay

To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages