Change apiserver runtime service

0 votes
I'm using kube-aws to run a Kubernetes cluster on AWS, and everything works as expected.

Now, I realize that cron jobs aren't turned on in the version I'm using (v1.7.10_coreos.0).

What am i supossed to do?
Sep 19, 2018 in Kubernetes by lina
• 8,220 points
346 views

1 answer to this question.

0 votes

The apiserver is declared by a static manifest, when that file changes on disk (within a certain window of seconds), I would expect kubelet to notice that change, kill the apiserver container/Pod, and re-launch it with the new config -- just as it is programmed to do via commands from the apiserver itself. If you have multi-master, AFAIK one must also update the matching apiserver's manifests on the other Nodes, after verifying the first change did what you expected.

Your next question would be where do I find this static manifest

The short version is wherever kubelet is looking for them, so I would start with systemctl cat kubelet.service and look for interesting directories in the unit file, and if that doesn't prove interesting, then for sure launching kubelet with --v=100 will show you everything it is trying to do. 

answered Sep 19, 2018 by Kalgi
• 52,360 points

Related Questions In Kubernetes

+5 votes
2 answers

Redirecting host to service path in kubernetes

What you are trying to do is ...READ MORE

answered Mar 27, 2018 in Kubernetes by DragonLord999
• 8,450 points
3,165 views
0 votes
2 answers

How can I access a service installed on Kubernetes from anywhere?

if u want to directly want to ...READ MORE

answered Jul 26, 2020 in Kubernetes by Akash Gupta
1,078 views
0 votes
2 answers

kubernetes service external ip pending

This question is very similar to this. READ MORE

answered Oct 8, 2018 in Kubernetes by Nilesh
• 7,050 points
2,229 views
0 votes
2 answers

kubernetes service external ip pending

If you are not using GCE or ...READ MORE

answered Aug 31, 2018 in Kubernetes by Nilesh
• 7,050 points
12,314 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,360 points
933 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
14,587 views
0 votes
1 answer

Is possible to have same k8s service for multiple pods?

Reserve a static IP and then assign ...READ MORE

answered Jul 20, 2018 in Kubernetes by Kalgi
• 52,360 points
2,813 views
+2 votes
5 answers

Change parameter values while implementing helm chart

You can use helm upgrade --reuse-values --set ingress.enabled=false or ...READ MORE

answered Jul 25, 2018 in Kubernetes by Kalgi
• 52,360 points
8,000 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP