Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Update Knative version Readme #708

Open
wants to merge 4 commits into
base: knative
Choose a base branch
from

Conversation

pzmrzy
Copy link
Contributor

@pzmrzy pzmrzy commented Oct 31, 2018

No description provided.

@@ -90,6 +92,10 @@ Installing Dispatch depends on having a Kubernetes cluster with the Knative comp

4. Deploy via helm chart (if helm is not installed and initialized, do that first):
```bash
cd charts/dispatch
helm dependency update
helm init
Copy link
Contributor

Choose a reason for hiding this comment

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

I would probably add a new optional step above for helm init and also mentions that tiller requires cluster admin privileges (refer the legacy installation steps)

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: helm dep up instead of the verbose command

README.md Outdated
```

2. Build and publish a dispatch image:
```bash
PUSH_IMAGES=1 make images
```
> **NOTE**: You may need `docker login` before push
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit : You may need to docker login before push

README.md Outdated
@@ -90,6 +92,10 @@ Installing Dispatch depends on having a Kubernetes cluster with the Knative comp

4. Deploy via helm chart (if helm is not installed and initialized, do that first):
```bash
cd charts/dispatch
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to cd
helm dep up ./charts/dispatch/

README.md Outdated
export CLUSTER_NAME=dispatch-knative
gcloud container clusters create -m n1-standard-4 --cluster-version ${K8S_VERSION} ${CLUSTER_NAME}
gcloud container clusters get-credentials ${CLUSTER_NAME}
gcloud container clusters create -m n1-standard-4 --cluster-version ${K8S_VERSION} ${CLUSTER_NAME} --zone us-west1-c
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe make the zone an env var too?

README.md Outdated
```bash
cat << EOF > config.json
{
"current": "${RELEASE_NAME}",
"contexts": {
"${RELEASE_NAME}": {
"host": "$(kubectl -n ${DISPATCH_NAMESPACE} get service ${RELEASE_NAME}-nginx-ingress-controller -o json | jq -r .status.loadBalancer.ingress[].ip)",
"host": "$(kubectl -n ${DISPATCH_NAMESPACE} get service ${RELEASE_NAME}-nginx-ingress-controller -o json | jq -r ".status.loadBalancer.ingress[].ip")",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these be single quotes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both works, then single quotes seems better

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants