coreos/azure: Convert to UNIX EOL, git clone external repo (which provides v1.2 now)

This commit is contained in:
Ilya Dmitrichenko
2016-04-04 17:37:34 +01:00
parent ff12cf1a0b
commit 2b1f051de5
@@ -16,8 +16,8 @@ In this guide I will demonstrate how to deploy a Kubernetes cluster to Azure clo
To get started, you need to checkout the code: To get started, you need to checkout the code:
```shell ```shell
git clone https://github.com/kubernetes/kubernetes https://github.com/weaveworks-guides/weave-kubernetes-coreos-azure
cd kubernetes/docs/getting-started-guides/coreos/azure/ cd weave-kubernetes-coreos-azure
``` ```
You will need to have [Node.js installed](http://nodejs.org/download/) on you machine. If you have previously used Azure CLI, you should have it already. You will need to have [Node.js installed](http://nodejs.org/download/) on you machine. If you have previously used Azure CLI, you should have it already.
@@ -150,7 +150,7 @@ First, double-check how many replication controllers there are:
```shell ```shell
core@kube-00 ~ $ kubectl get rc core@kube-00 ~ $ kubectl get rc
ONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS ONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
frontend php-redis kubernetes/example-guestbook-php-redis:v2 name=frontend 3 frontend php-redis kubernetes/example-guestbook-php-redis:v2 name=frontend 3
redis-master master redis name=redis-master 1 redis-master master redis name=redis-master 1
redis-slave worker kubernetes/redis-slave:v2 name=redis-slave 2 redis-slave worker kubernetes/redis-slave:v2 name=redis-slave 2
@@ -160,7 +160,6 @@ As there are 4 nodes, let's scale proportionally:
```shell ```shell
core@kube-00 ~ $ kubectl scale --replicas=4 rc redis-slave core@kube-00 ~ $ kubectl scale --replicas=4 rc redis-slave
>>>>>>> coreos/azure: Updates for 1.0
scaled scaled
core@kube-00 ~ $ kubectl scale --replicas=4 rc frontend core@kube-00 ~ $ kubectl scale --replicas=4 rc frontend
scaled scaled
@@ -213,7 +212,7 @@ You then should be able to access it from anywhere via the Azure virtual IP for
## Next steps ## Next steps
You now have a full-blow cluster running in Azure, congrats! You now have a full-blown cluster running in Azure, congrats!
You should probably try deploy other [example apps](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/) or write your own ;) You should probably try deploy other [example apps](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/) or write your own ;)