Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to kubernetes cluster doc #167

Merged
merged 4 commits into from
Feb 14, 2018
Merged

Conversation

grantr
Copy link
Contributor

@grantr grantr commented Feb 14, 2018

Link to docs/creating-a-kubernetes-cluster.md from DEVELOPMENT.md. I'm not picky about where this goes, so if someone has a better location or format, feel free to change it.

DEVELOPMENT.md Outdated
@@ -31,6 +31,10 @@ You'll also need to setup:
kubectl create clusterrolebinding cluster-admin-binding \
--clusterrole=cluster-admin --user=${YOUR_KUBE_USER}
```

_See [`docs/creating-a-kubernetes-cluster.md`](./docs/creating-a-kubernetes-cluster.md)
for step-by-step instructions on setting up both GKE and minikube clusters._
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this replace the minikube link above?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 :D

DEVELOPMENT.md Outdated

_See [`docs/creating-a-kubernetes-cluster.md`](./docs/creating-a-kubernetes-cluster.md)
for step-by-step instructions on setting up both GKE and minikube clusters._

1. Kubernetes cluster must have MutatingAdmissionWebhook specified in the [--admission-control as per]:
(https://kubernetes.io/docs/admin/extensible-admission-controllers/#enable-external-admission-webhooks)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think this whole bullet belongs in the minikube section of your doc (or needs some qualification that it is minikube-only setup).

DEVELOPMENT.md Outdated
@@ -31,6 +31,10 @@ You'll also need to setup:
kubectl create clusterrolebinding cluster-admin-binding \
--clusterrole=cluster-admin --user=${YOUR_KUBE_USER}
```

_See [`docs/creating-a-kubernetes-cluster.md`](./docs/creating-a-kubernetes-cluster.md)
for step-by-step instructions on setting up both GKE and minikube clusters._
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 :D

```bash
kubectl create clusterrolebinding cluster-admin-binding \
--clusterrole=cluster-admin --user=${YOUR_KUBE_USER}
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this command already in the "creating a cluster" docs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grantr
Copy link
Contributor Author

grantr commented Feb 14, 2018

This PR now moves some of the k8s cluster setup instructions from DEVELOPMENT.md to docs/creating-a-kubernetes-cluster.md. The setup steps are now all oneliners and IMO easier to scan.

@mattmoor mattmoor merged commit 598d82a into knative:master Feb 14, 2018
@grantr grantr deleted the k8s-cluster-docs branch February 14, 2018 23:23
matzew pushed a commit to matzew/serving that referenced this pull request Jul 1, 2019
Add UID 65532 to run all containers as non-root user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants