mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
commit
02855cd096
@ -19,6 +19,11 @@ However, initial development was done on GCE and so our instructions and scripts
|
||||
|
||||
git clone https://github.com/GoogleCloudPlatform/kubernetes.git
|
||||
|
||||
5. Setting up a cluster requires the `htpasswd` tool in order to hash a randomly generated password for accessing the API server. This is already installed on recent version of Mac OS X but on linux you need to install it yourself. On Debian/Ubuntu you can do this with:
|
||||
|
||||
sudo apt-get udpate
|
||||
sudo apt-get install apache2-utils
|
||||
|
||||
### Setup
|
||||
|
||||
The setup script builds Kubernetes, then creates Google Compute Engine instances, firewall rules, and routes:
|
||||
@ -59,10 +64,10 @@ Assuming you've run `hack/dev-build-and-up.sh` and `hack/build-go.sh`:
|
||||
|
||||
```
|
||||
cd kubernetes
|
||||
cluster/cloudcfg.sh -c api/examples/task.json create /tasks
|
||||
cluster/cloudcfg.sh -c api/examples/pod.json create /pods
|
||||
```
|
||||
|
||||
Where task.json contains something like:
|
||||
Where pod.json contains something like:
|
||||
|
||||
```
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user