You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-21Lines changed: 4 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,35 +71,18 @@ Also, since this component is central to the platform, it's recommended that you
71
71
*`SHORT_NAME` (optional) - The name of the image. This defaults to `controller`
72
72
*`VERSION` (optional) - The tag of the Docker image. This defaults to the current Git SHA (the output of `git rev-parse --short HEAD`)
73
73
74
-
Then, run the following commands to build and push a new Docker image with your changes, and install it on your Kubernetes cluster.
75
-
76
-
```console
77
-
make docker-build docker-push
78
-
```
79
-
80
-
See below for a complete example with appropriate environment variables.
74
+
Then, run `make deploy` to build and push a new Docker image with your changes and replace the existing one with your new one in the Kubernetes cluster. See below for an example with appropriate environment variables.
81
75
82
76
```console
83
77
export DEIS_REGISTRY=quay.io/
84
78
export IMAGE_PREFIX=arschles
85
-
make docker-build docker-push
86
-
```
87
-
88
-
Once the Docker push is complete, edit `$(helm home)/workspace/charts/deis-dev/manifests/deis-controller-rc.yaml` so that the `image:` field has the complete location of your Docker image (for example, the image produced by the previous command would be similar to `quay.io/arschles/controller:bba8eca`.)
89
-
90
-
Finally, delete and re-create the Deis controller [Replication Controller][repl-controller]:
Note: if you used the stable release of the Deis chart, the path to the `deis-controller-rc.yaml` will be `Note that if you used the stable release of the Deis chart, the path will be `$(helm home)/workspace/charts/deis/manifests/deis-controller-rc.yaml`.
98
-
99
-
Once you've re-created the replication controller, a new pod will be launched by it. You'll need to wait until the pod is listed as `Running` and the value in its `Ready` column is `1/1`. Use the following command to check the Pod's status:
82
+
After the `make deploy` finishes, a new pod will be launched but may not be running. You'll need to wait until the pod is listed as `Running` and the value in its `Ready` column is `1/1`. Use the following command to check the Pod's status:
100
83
101
84
```console
102
-
kubectl get pod --namespace=deis
85
+
kubectl get pod --namespace=deis | grep deis-controller
0 commit comments