Skip to content

Commit 3754813

Browse files
author
Constantin Muraru
committed
[DOC] Update k8s example
1 parent 86920bf commit 3754813

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

examples/aws-kubernetes/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This example allows you to create, manage and explore Kubernetes clusters in Ama
1414

1515
The following software and plugins are required for cluster provisioning:
1616

17-
* [Homebrew](http://brew.sh) - for MacOS
17+
* [Homebrew](http://brew.sh) - for MacOS/Linux
1818
* ops - https://github.com/adobe/ops-cli#installing
1919
* [Terraform](https://terraform.io/downloads) can be installed via brew or their website
2020
* [Terraform Helm Provider](https://github.com/terraform-providers/terraform-provider-helm#installation)
@@ -28,13 +28,13 @@ git clone https://github.com/adobe/ops-cli.git
2828

2929
cd ops-cli/examples/aws-kubernetes
3030

31-
# For MacOS only.
32-
./setup-mac.sh
31+
# For Mac/Linux
32+
./update.sh
3333
```
3434

35-
The above script uses brew to install dependencies (on Mac). If you're using a different OS, check through the script to see the required dependencies and install them manually. We accept pull requests, if you'd like to add a script for other OS (eg. `setup-linux.sh`).
35+
The above script uses brew to install dependencies (tested only on Mac; linux *might* work as well, given that Homebrew is now available there as well). If you're using a different OS, check through the script to see the required dependencies and install them manually. We accept pull requests, if you'd like to add a script for another OS.
3636

37-
Before you proceed, make sure you have run the `setup-mac.sh` script, which is present in this repository. The script will install the `kubectl` tool, the AWS IAM authenticator and other required prerequisites.
37+
Before you proceed, make sure you have run the `update.sh` script, which is present in this repository. The script will install the `kubectl` tool, the AWS IAM authenticator and other required prerequisites.
3838

3939
### Configure AWS Cli profile
4040
```sh
@@ -52,8 +52,8 @@ Default region name [None]: us-east-1
5252
Please make sure you have `ops-cli` installed before proceeding (https://github.com/adobe/ops-cli#installing)
5353

5454
At this point you should have the following:
55-
- kubectl installed (via `setup-mac.sh`)
56-
- aws iam authenticator installed (via `setup-mac.sh`)
55+
- kubectl installed (via `update.sh`)
56+
- aws iam authenticator installed (via `update.sh`)
5757
- aws profile setup (eg. `my-aws-profile`)
5858
- `ops-cli` installed
5959

examples/aws-kubernetes/setup-mac.sh renamed to examples/aws-kubernetes/update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ install_aws_iam_authenticator $AWS_IAM_AUTHENTICATOR_VERSION
4747

4848
brew update
4949

50+
brew_install_or_upgrade wget
5051
brew_install_or_upgrade kubernetes-helm
5152
brew_install_or_upgrade kubectl
5253
brew_install_or_upgrade jq
5354

55+
helm init --client-only
5456
helm repo update

0 commit comments

Comments
 (0)