Initial translation to OCI

This commit is contained in:
Dan Simone
2021-02-04 22:40:21 -08:00
parent ca96371e4d
commit ee9a06afab
14 changed files with 481 additions and 321 deletions

View File

@@ -12,9 +12,7 @@ Generate a kubeconfig file suitable for authenticating as the `admin` user:
```
{
KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \
--region $(gcloud config get-value compute/region) \
--format 'value(address)')
KUBERNETES_PUBLIC_ADDRESS=$(oci lb load-balancer list --all | jq '.data[] | select(."display-name"=="kubernetes-the-hard-way")' | jq -r '."ip-addresses"[0]."ip-address"')
kubectl config set-cluster kubernetes-the-hard-way \
--certificate-authority=ca.pem \