Trying to pass --runtime-config batch v2alpha1 true argument

0 votes

I'm trying to run a cron job example and i'm a noob as i'm still learning.

So the documentation mentioned that i needed to pass "--runtime-config=batch/v2alpha1=true" argument while bringing up the API server to turn on the batch/v2alpha1 API.

But I'm very confused on to how am I supposed to do this, Any help would be appreciated.

Thanks in advance!

Sep 18, 2018 in Kubernetes by lina
• 8,220 points

1 answer to this question.

0 votes

on the master server api configuration stored in this location /etc/kubernetes/manifests/kube-apiserver.yaml.

  1. take the backup of this file.
  2. add the new argument in command: section.
  3. restart the node, it will start with new argument.
answered Sep 18, 2018 by Kalgi
• 52,370 points

Related Questions In Kubernetes

+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
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,370 points

reshown Apr 12, 2019 by Kalgi 3,545 views
0 votes
1 answer
0 votes
4 answers

"Layer already exists " when trying to push an image

I had a similar error. I hadn't ...READ MORE

answered Apr 23, 2019 in Kubernetes by Kalyan