Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save abutcher/3baf601a4a08d753ef04c4cf41e76cde to your computer and use it in GitHub Desktop.
Save abutcher/3baf601a4a08d753ef04c4cf41e76cde to your computer and use it in GitHub Desktop.
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"machine.openshift.io/v1beta1","kind":"MachineSet","metadata":{"annotations":{},"name":"team-czcpt-worker-us-east-1a-2","namespace":"openshift-machine-api"},"spec":{"replicas":1,"selector":{"matchLabels":{"machine.openshift.io/cluster-api-cluster":"team-czcpt","machine.openshift.io/cluster-api-machineset":"team-czcpt-worker-us-east-1a-2"}},"template":{"metadata":{"labels":{"machine.openshift.io/cluster-api-cluster":"team-czcpt","machine.openshift.io/cluster-api-machine-role":"worker","machine.openshift.io/cluster-api-machine-type":"worker","machine.openshift.io/cluster-api-machineset":"team-czcpt-worker-us-east-1a-2"}},"spec":{"metadata":{},"providerSpec":{"value":{"ami":{"id":"ami-03d1c2cba04df838c"},"apiVersion":"machineapi.openshift.io/v1beta1","blockDevices":[{"ebs":{"encrypted":true,"iops":0,"kmsKey":{"arn":""},"volumeSize":120,"volumeType":"gp2"}}],"credentialsSecret":{"name":"aws-cloud-credentials"},"deviceIndex":0,"iamInstanceProfile":{"id":"team-czcpt-worker-profile"},"instanceType":"m4.large","kind":"AWSMachineProviderConfig","metadata":{"creationTimestamp":null},"placement":{"availabilityZone":"us-east-1a","region":"us-east-1"},"securityGroups":[{"filters":[{"name":"tag:Name","values":["team-czcpt-worker-sg"]}]}],"subnet":{"filters":[{"name":"tag:Name","values":["team-czcpt-private-us-east-1a"]}]},"tags":[{"name":"kubernetes.io/cluster/team-czcpt","value":"owned"}],"userDataSecret":{"name":"worker-user-data"}}}}}}}
machine.openshift.io/GPU: "0"
machine.openshift.io/memoryMb: "8192"
machine.openshift.io/vCPU: "2"
creationTimestamp: "2022-06-09T15:55:34Z"
generation: 1
name: team-czcpt-worker-us-east-1a-2
namespace: openshift-machine-api
resourceVersion: "572128225"
uid: 0362c375-4b6e-481d-aac8-d99a1864dbfb
spec:
replicas: 1
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: team-czcpt
machine.openshift.io/cluster-api-machineset: team-czcpt-worker-us-east-1a-2
template:
metadata:
labels:
machine.openshift.io/cluster-api-cluster: team-czcpt
machine.openshift.io/cluster-api-machine-role: worker
machine.openshift.io/cluster-api-machine-type: worker
machine.openshift.io/cluster-api-machineset: team-czcpt-worker-us-east-1a-2
spec:
lifecycleHooks: {}
metadata: {}
providerSpec:
value:
ami:
id: ami-03d1c2cba04df838c
apiVersion: machineapi.openshift.io/v1beta1
blockDevices:
- ebs:
encrypted: true
iops: 0
kmsKey:
arn: ""
volumeSize: 120
volumeType: gp2
credentialsSecret:
name: aws-cloud-credentials
deviceIndex: 0
iamInstanceProfile:
id: team-czcpt-worker-profile
instanceType: m4.large
kind: AWSMachineProviderConfig
metadata:
creationTimestamp: null
placement:
availabilityZone: us-east-1a
region: us-east-1
securityGroups:
- filters:
- name: tag:Name
values:
- team-czcpt-worker-sg
subnet:
filters:
- name: tag:Name
values:
- team-czcpt-private-us-east-1a
tags:
- name: kubernetes.io/cluster/team-czcpt
value: owned
userDataSecret:
name: worker-user-data
status:
availableReplicas: 1
fullyLabeledReplicas: 1
observedGeneration: 1
readyReplicas: 1
replicas: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment