I have a cluster running on centos 7, using version 1.6.2 installed by kubeadm. 
I'm trying to enable cronjob but kube-apiserver won't start when I add the 
config flag.

How I've attempted to do this is by editing 
/etc/kubernetes/manifests/kube-apiserver.yaml and adding this line to the 
command parameters:

    - --runtime-config=batch/v2alpha1=true

When I do this it automatically tries to restart kube-apiserver and does not 
come back up. When I remove the line it starts up again.

This could be the entirely wrong way of going about it, not sure.

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.

Reply via email to