Skip to content

Commit

Permalink
Update minikube documentation and dev tooling to 1.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
roberthbailey committed Jul 10, 2019
1 parent 194293e commit 2d188cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 1 addition & 5 deletions build/includes/minikube.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,13 @@
minikube-test-cluster: DOCKER_RUN_ARGS+=--network=host -v $(minikube_cert_mount)
minikube-test-cluster: $(ensure-build-image) minikube-agones-profile
# localkube bootstrapper fixes issues with profiles
$(MINIKUBE) start --kubernetes-version v1.11.5 --vm-driver $(MINIKUBE_DRIVER) \
--extra-config=apiserver.authorization-mode=RBAC
$(MINIKUBE) start --kubernetes-version v1.12.10 --vm-driver $(MINIKUBE_DRIVER)
# wait until the master is up
until docker run --rm $(common_mounts) $(DOCKER_RUN_ARGS) $(build_tag) kubectl cluster-info; \
do \
echo "Waiting for cluster to start..."; \
sleep 1; \
done
# this is needed for kubernetes component to work correctly while RBAC is enabled
-docker run --rm $(common_mounts) $(DOCKER_RUN_ARGS) $(build_tag) \
kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --serviceaccount=kube-system:default
$(MAKE) setup-test-cluster DOCKER_RUN_ARGS="$(DOCKER_RUN_ARGS)"
$(MAKE) minikube-post-start

Expand Down
9 changes: 9 additions & 0 deletions site/content/en/docs/Installation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,19 @@ minikube profile agones
The following command starts a local minikube cluster via virtualbox - but this can be
replaced by a [vm-driver](https://github.com/kubernetes/minikube#requirements) of your choice.
{{% feature expiryVersion="0.12.0" %}}
```bash
minikube start --kubernetes-version v1.11.0 --vm-driver virtualbox \
--extra-config=apiserver.authorization-mode=RBAC
```
Continue to [Enabling creation of RBAC resources](#enabling-creation-of-rbac-resources)
{{% /feature %}}
{{% feature publishversion="0.12.0" %}}
```bash
minikube start --kubernetes-version v1.12.10 --vm-driver virtualbox
```
{{% /feature %}}
## Setting up an Amazon Web Services EKS cluster
Expand Down Expand Up @@ -280,6 +287,7 @@ Nodes in AKS don't get a Public IP by default. To assign a Public IP to a Node,
Continue to [Installing Agones](#installing-agones).
{{% feature expiryVersion="0.12.0" %}}
## Enabling creation of RBAC resources
To install Agones, a service account needs permission to create some special RBAC resource types.
Expand All @@ -292,6 +300,7 @@ kubectl create clusterrolebinding cluster-admin-binding \
kubectl create clusterrolebinding cluster-admin-binding \
--clusterrole=cluster-admin --serviceaccount=kube-system:default
```
{{% /feature %}}
## Installing Agones
Expand Down

0 comments on commit 2d188cc

Please sign in to comment.