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

12번째 줄: 12번째 줄:
</source>
</source>
<source lang='console'>
<source lang='console'>
$ kops get ig nodes -oyaml
jmnote@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: 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
   name: nodes
spec:
spec:

2020년 1월 7일 (화) 16:09 판

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
jmnote@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 }}