Last active
February 12, 2018 05:22
-
-
Save shashidharatd/0b1cb0269d8c367974205d81a3272b08 to your computer and use it in GitHub Desktop.
Bringup K8s Federation control plane on minikube and do e2e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Bringup minikube clusters | |
# minikube start -p minikube | |
# minikube start -p federation-us | |
# minikube start -p federation-europe | |
2. Build & Push fcp image registry | |
# cd $GOPATH/src/k8s.io/federation | |
# make quick-release | |
# docker load -i _output/release-images/amd64/fcp-amd64.tar | |
# docker tag gcr.io/google_containers/fcp-amd64:<tag> shashidharatd//fcp-amd64:<tag> | |
# docker push shashidharatd//fcp-amd64:<tag> | |
3. Bring up fcp | |
# _output/dockerized/bin/linux/amd64/kubefed init myfed --host-cluster-context=minikube --api-server-service-type=NodePort --image=shashidharatd/fcp-amd64:<tag> --controllermanager-arg-overrides="--controllers=service-dns=false" --dns-provider=dummy --etcd-persistent-storage=false | |
4. Join clusters to federation | |
# kubefed join federation-us --host-cluster-context=minikube --context=myfed | |
# kubefed join federation-europe --host-cluster-context=minikube --context=myfed | |
5. Run select e2e | |
# _output/dockerized/bin/linux/amd64/e2e.test --kubeconfig /root/.kube/config --federated-kube-context myfed -ginkgo.focus="\[Feature:Federation\].Features.Preferences" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment