"Kops get instancegroups"의 두 판 사이의 차이

5번째 줄: 5번째 줄:


<source lang='console'>
<source lang='console'>
# kops get instancegroups
$ kops get ig
NAME                    ROLE    MACHINETYPE    MIN    MAX    ZONES
NAME                    ROLE    MACHINETYPE    MIN    MAX    ZONES
master-ap-northeast-2c  Master  t3.micro       1      1      ap-northeast-2c
master-ap-northeast-2c  Master  t3.small       1      1      ap-northeast-2c
nodes                  Node    t3.micro        1       1       ap-northeast-2c
nodes                  Node    t3.medium      2       2       ap-northeast-2c
</source>
</source>
<source lang='console'>
<source lang='console'>
# kops get ig nodes -oyaml
$ kops get ig nodes -oyaml
apiVersion: kops/v1alpha2
apiVersion: kops/v1alpha2
kind: InstanceGroup
kind: InstanceGroup
20번째 줄: 20번째 줄:
   name: nodes
   name: nodes
spec:
spec:
   image: kope.io/k8s-1.11-debian-stretch-amd64-hvm-ebs-2018-08-17
   image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-08-16
   machineType: t3.micro
   machineType: t3.medium
   maxSize: 1
   maxSize: 2
   minSize: 1
   minSize: 2
   nodeLabels:
   nodeLabels:
     kops.k8s.io/instancegroup: nodes
     kops.k8s.io/instancegroup: nodes

2019년 10월 7일 (월) 11:43 판

1 개요

kops get instancegroups
kops get instancegroup
kops get ig
$ kops get ig
NAME                    ROLE    MACHINETYPE     MIN     MAX     ZONES
master-ap-northeast-2c  Master  t3.small        1       1       ap-northeast-2c
nodes                   Node    t3.medium       2       2       ap-northeast-2c
$ kops get ig nodes -oyaml
apiVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
  creationTimestamp: 2019-03-25T06:13:33Z
  labels:
    kops.k8s.io/cluster: k8s.example.com
  name: nodes
spec:
  image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-08-16
  machineType: t3.medium
  maxSize: 2
  minSize: 2
  nodeLabels:
    kops.k8s.io/instancegroup: nodes
  role: Node
  subnets:
  - ap-northeast-2c

2 같이 보기

3 참고

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