Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kubernetes auf AWS

Jonas
January 30, 2020

Kubernetes auf AWS

Jonas

January 30, 2020
Tweet

More Decks by Jonas

Other Decks in Technology

Transcript

  1. Kubernetes auf AWS wie deploye ich meinen EKS Cluster richtig?

    Jonas Bechstein | @jobe93 Markus Zimmermann | @markus_zm
  2. IAM Authentication apiVersion: v1 kind: ConfigMap metadata: name: aws-auth namespace:

    kube-system data: mapRoles: | - rolearn: worker-role username: system:node:{{EC2PrivateDNSName}} groups: - system:bootstrappers - system:nodes - rolearn: ci-role username: admin:{{SessionName}} groups: - system:masters - rolearn: ops-guy Username: admin:{{SessionName}} groups: - system:masters
  3. Differences Cloudformation does not support all settings e.g. Logs, Private

    Networking eksctl separate tool - not really IaaS and isolated from Cloudformation Terraform multi-cloud compatible and most feature rich
  4. Feature Comparison Cloudformation Terraform eksctl State management Cluster creation Add

    IAM user Auto scaling VPC Cluster config Cluster services upgrade Config Control plane logging
  5. Advantages Managed Nodegroups Easier creation Health monitoring through EKS API

    Node draining Upgrade cluster versions Rolling update Force update
  6. No automatic patches No custom AMI - only Amazon Linux

    Can only change size of root volume No spot instances and one instance type per group No kubelet customization Disadvantages of Managed Nodegroups
  7. Cluster Upgrades Update release version in managed nodegroup to upgrade

    cluster Change of value in config Use button in Console Update cluster services
  8. Recommendations Choose solution based on your current IaaS tooling Quick

    prototyping with eksctl Terraform most feature-rich for third-party services