Updated / added Kops documentation (#6744)

* first pass at updated kops documentation

Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>

* updated k8s versions as appropiate

Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>

* added sds doc links

Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>

* formatting

Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>

* spelling and lint fixes

Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>

* changed to weight 33

* simplified docs

Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>
This commit is contained in:
Jonathan Meyers 2020-03-06 23:39:52 +01:00 committed by GitHub
parent c7610d31e4
commit 6fa32245be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,42 @@
---
title: Kops
description: Instructions to setup Kops for use with Istio.
weight: 33
skip_seealso: true
keywords: [platform-setup,kubernetes,kops]
---
If you wish to run Istio [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret#sds-configuration) (SDS) for your mesh on Kops managed clusters, you must add [extra configurations](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection) to enable service account token projection volumes in the api-server.
1. Open the configuration file:
{{< text bash >}}
$ kops edit cluster $YOURCLUSTER
{{< /text >}}
1. Add the following in the configuration file:
{{< text yaml >}}
kubeAPIServer:
apiAudiences:
- api
- istio-ca
serviceAccountIssuer: kubernetes.default.svc
serviceAccountKeyFile:
- /srv/kubernetes/server.key
serviceAccountSigningKeyFile: /srv/kubernetes/server.key
{{< /text >}}
1. Perform the update:
{{< text bash >}}
$ kops update cluster
$ kops update cluster --yes
{{< /text >}}
1. Launch the rolling update:
{{< text bash >}}
$ kops rolling-update cluster
$ kops rolling-update cluster --yes
{{< /text >}}