Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use with kops #18

Closed
tamalsaha opened this issue Aug 29, 2017 · 4 comments
Closed

Document how to use with kops #18

tamalsaha opened this issue Aug 29, 2017 · 4 comments

Comments

@tamalsaha
Copy link
Contributor

kubeAPIServer:
  authenticationTokenWebhookConfigFile: /etc/kubernetes/guard-config
@tamalsaha
Copy link
Contributor Author

kubernetes/kops#3258

@tamalsaha
Copy link
Contributor Author

kubernetes/kops#2090

@thomaspeitz
Copy link
Contributor

thomaspeitz commented Dec 22, 2017

Quick setup: - Will pr docs after christmas:
Check ip to use: kops edit cluster --name <cluster_name>
if nonMasqueradeCIDR: 100.64.0.0/10 => Then ip to use is 100.64.10.96

After everything is generated: kops edit cluster

spec: 
  kubeAPIServer:
    authenticationTokenWebhookConfigFile: /srv/kubernetes/webhook-guard-config
  fileAssets:
  - content: |
       (OUTPUT of: guard get webhook-config ivx -o github --addr=100.64.10.96:9844)
    name: guard-github-auth
    path: /srv/kubernetes/webhook-guard-config
    roles:
    - Master

Update cluster config: kops update cluster; then kops update cluster --yes

Rolling updater master nodes, one after another. Test with one master then every third request should "work" - So you can test without breaking your setup. kops rolling-update cluster <cluster_name> --instance-group master-eu-west-1a--yes - If something does not work: Ssh to master and check kube-api logs /var/log/ - This will help you debugging.

After Christmas i will document this in a proper way.

@tamalsaha
Copy link
Contributor Author

Closed via #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants