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

 
(같은 사용자의 중간 판 3개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{소문자}}
==개요==
==개요==
;kops get instancegroups
;kops get instancegroups
5번째 줄: 6번째 줄:


<source lang='console'>
<source lang='console'>
# kops get instancegroups
user01@localhost:~$ 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
user01@localhost:~$ kops get ig -oyaml
apiVersion: kops/v1alpha2
apiVersion: kops/v1alpha2
kind: InstanceGroup
kind: InstanceGroup
metadata:
metadata:
   creationTimestamp: 2019-03-25T06:13:33Z
   creationTimestamp: 2019-05-25T11:17:13Z
   labels:
   labels:
     kops.k8s.io/cluster: k8s.example.com
     kops.k8s.io/cluster: c1.example1.com
   name: nodes
   name: master-ap-northeast-2c
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.small
   maxSize: 1
   maxSize: 1
   minSize: 1
   minSize: 1
  nodeLabels:
    kops.k8s.io/instancegroup: master-ap-northeast-2c
  role: Master
  subnets:
  - ap-northeast-2c
---
apiVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
  creationTimestamp: 2019-05-25T11:17:13Z
  generation: 1
  labels:
    kops.k8s.io/cluster: c1.example1.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:
   nodeLabels:
     kops.k8s.io/instancegroup: nodes
     kops.k8s.io/instancegroup: nodes

2020년 1월 7일 (화) 16:09 기준 최신판

1 개요[ | ]

kops get instancegroups
kops get instancegroup
kops get ig
user01@localhost:~$ 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
user01@localhost:~$ kops get ig -oyaml
apiVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
  creationTimestamp: 2019-05-25T11:17:13Z
  labels:
    kops.k8s.io/cluster: c1.example1.com
  name: master-ap-northeast-2c
spec:
  image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-08-16
  machineType: t3.small
  maxSize: 1
  minSize: 1
  nodeLabels:
    kops.k8s.io/instancegroup: master-ap-northeast-2c
  role: Master
  subnets:
  - ap-northeast-2c

---

apiVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
  creationTimestamp: 2019-05-25T11:17:13Z
  generation: 1
  labels:
    kops.k8s.io/cluster: c1.example1.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 }}