kubeadm

1 개요[ | ]

kubeadm
큐브adm, 큐브어드민, 쿠브어드민, 큐베아덤
  • 쿠버네티스 클러스터 생성을 위한 도구
  • Pod별로 IP 1개를 제공하는 네트워크를 생성한다.
  • 첫 노드에서 kubeadm init, 나머지 노드에서 kubeadm join하여 클러스터 구성
  • k8s 1.4.0부터 사용가능해졌다.

2 명령어[ | ]

kubeadm alpha Experimental sub-commands not yet fully functional.
kubeadm completion Output shell completion code for the specified shell (bash or zsh).
kubeadm config Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster.
kubeadm help Help about any command
kubeadm init Run this command in order to set up the Kubernetes master.
kubeadm join Run this on any machine you wish to join an existing cluster
kubeadm reset Run this to revert any changes made to this host by 'kubeadm init' or 'kubeadm join'.
kubeadm token Manage bootstrap tokens.
kubeadm upgrade Upgrade your cluster smoothly to a newer version with this command.
kubeadm version Print the version of kubeadm

3 실행예시[ | ]

master $ kubeadm

kubeadm: easily bootstrap a secure Kubernetes cluster.

    ┌─────────────────────────────┐
    │ KUBEADM IS CURRENTLY IN BETA                             │
    │                                                          │
    │ But please, try it out and give us feedback at:          │
    │ https://github.com/kubernetes/kubeadm/issues             │
    │ and at-mention @kubernetes/sig-cluster-lifecycle-bugs    │
    │ or @kubernetes/sig-cluster-lifecycle-feature-requests    │
    └─────────────────────────────┘

Example usage:

    Create a two-machine cluster with one master (which controls the cluster),
    and one node (where your workloads, like Pods and Deployments run).

    ┌─────────────────────────────┐
    │ On the first machine:                                    │
    ├─────────────────────────────┤
    │ master# kubeadm init                                     │
    └─────────────────────────────┘

    ┌─────────────────────────────┐
    │ On the second machine:                                   │
    ├─────────────────────────────┤
    │ node# kubeadm join <arguments-returned-from-init>        │
    └─────────────────────────────┘

    You can then repeat the second step on as many other machines as you like.

Usage:
  kubeadm [command]

Available Commands:
  alpha       Experimental sub-commands not yet fully functional.
  completion  Output shell completion code for the specified shell (bash or zsh).
  config      Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster.
  help        Help about any command
  init        Run this command in order to set up the Kubernetes master.
  join        Run this on any machine you wish to join an existing cluster
  reset       Run this to revert any changes made to this host by 'kubeadm init' or 'kubeadm join'.
  token       Manage bootstrap tokens.
  upgrade     Upgrade your cluster smoothly to a newer version with this command.
  version     Print the version of kubeadm

Flags:
  -h, ─help      help for kubeadm
  -v, ─v Level   log level for V logs

Use "kubeadm [command] ─help" for more information about a command.

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}