kube-up.sh doesn't have a way to provide your own certificates when creating the cluster. Since it's a bunch of bash, you can modify the script to skip the certificate generation though (replace this line <https://github.com/kubernetes/kubernetes/blob/c35bf2aa7b476c2523687b923f9e485df333f1d2/cluster/gce/util.sh#L1070> with a call to your own function that sets the desired environment variables).
If you don't mind provisioning your own VMs, you can use kubeadm <https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/> to form a cluster on GCE which has the ability to bring your own certificates. You can also use kubernetes-anywhere <https://github.com/kubernetes/kubernetes-anywhere> to both provision VMs (using terraform) and set up the cluster but I don't recall offhand if it allows you to use custom certificates. On Wed, Jul 5, 2017 at 12:51 AM, Eddie Mashayev <eddie.masha...@xplenty.com> wrote: > Anyone? > > > On Tuesday, July 4, 2017 at 3:47:25 PM UTC+3, Eddie Mashayev wrote: >> >> Hi, >> >> I have a question regarding *kube-up.sh* how do I use my own >> certificates and not the default generated by the script. >> Is there any better way to create K8S on GCE(*Not GKE*) other then >> *kube-up.sh* >> > -- > 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. > -- 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.