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

Web アプリをとりあえず Kubernetes にデプロイするための知識

Web アプリをとりあえず Kubernetes にデプロイするための知識

K8s の全体像や裏側にあえて触ない、スタートラインに立つための概略

saiya_moebius

March 22, 2019
Tweet

More Decks by saiya_moebius

Other Decks in Programming

Transcript

  1. Pod
    ReplicaSet
    Deployment
    HorizontalPodAutoscaler
    Service
    Ingress
    CronJob

    View full-size slide

  2. Pod
    docker run
    docker run
    Pod
    docker-compose

    View full-size slide

  3. ReplicaSet
    Pod
    Pod
    Pod

    View full-size slide

  4. Deployment
    ReplicaSet Pod
    Deployment ReplicaSet Pod
    ReplicaSet
    HorizontalPodAutoscaler Deployment
    Deployment

    View full-size slide

  5. HorizontalPodAutoscaler HPA
    HPA
    HPA Deployment ReplicaSet

    View full-size slide

  6. Service
    Service
    Selector Pod Pod
    Service Pod
    Service

    View full-size slide

  7. Service Deployement
    Service Deployment
    Deployment ReplicaSet Pods
    Service Pods
    Service Pod
    Deployment ReplicaSet
    Deployment ReplicaSet Pods
    Service

    View full-size slide

  8. Ingress
    Service
    Ingress Service

    View full-size slide

  9. Ingress Service
    Ingress Service Pods
    Ingress
    Service
    Service Pods
    Ingress
    Service

    View full-size slide

  10. kubectl apply -f .yml
    Deployment
    kubectl apply

    View full-size slide

  11. Too long with no output
    Deployment apply
    kubectl
    Too long with no output

    View full-size slide