Skip to content

Instantly share code, notes, and snippets.

@waynedovey
Created December 10, 2020 00:43
Show Gist options
  • Save waynedovey/64133d6fdff448e1681f6f2c609d55d4 to your computer and use it in GitHub Desktop.
Save waynedovey/64133d6fdff448e1681f6f2c609d55d4 to your computer and use it in GitHub Desktop.
MachineSet
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
annotations:
machine.openshift.io/GPU: "0"
machine.openshift.io/memoryMb: "16384"
machine.openshift.io/vCPU: "4"
labels:
hive.openshift.io/machine-pool: master
hive.openshift.io/managed: "true"
machine.openshift.io/cluster-api-cluster: ocp4-tokyo-aws-vlj67
managedFields:
- apiVersion: machine.openshift.io/v1beta1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:labels:
.: {}
f:machine.openshift.io/cluster-api-cluster: {}
f:spec:
.: {}
f:replicas: {}
f:selector:
.: {}
f:matchLabels:
.: {}
f:machine.openshift.io/cluster-api-cluster: {}
f:machine.openshift.io/cluster-api-machineset: {}
f:template:
.: {}
f:metadata:
.: {}
f:labels:
.: {}
f:machine.openshift.io/cluster-api-cluster: {}
f:machine.openshift.io/cluster-api-machine-role: {}
f:machine.openshift.io/cluster-api-machine-type: {}
f:machine.openshift.io/cluster-api-machineset: {}
f:spec:
.: {}
f:metadata: {}
f:providerSpec:
.: {}
f:value:
.: {}
f:ami: {}
f:apiVersion: {}
f:blockDevices: {}
f:credentialsSecret: {}
f:deviceIndex: {}
f:iamInstanceProfile: {}
f:instanceType: {}
f:kind: {}
f:metadata: {}
f:placement: {}
f:securityGroups: {}
f:subnet: {}
f:tags: {}
f:userDataSecret: {}
f:status: {}
manager: cluster-bootstrap
operation: Update
- apiVersion: machine.openshift.io/v1beta1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:machine.openshift.io/GPU: {}
f:machine.openshift.io/memoryMb: {}
f:machine.openshift.io/vCPU: {}
manager: machine-controller-manager
operation: Update
- apiVersion: machine.openshift.io/v1beta1
fieldsType: FieldsV1
fieldsV1:
f:status:
f:availableReplicas: {}
f:fullyLabeledReplicas: {}
f:observedGeneration: {}
f:readyReplicas: {}
f:replicas: {}
manager: machineset-controller
operation: Update
- apiVersion: machine.openshift.io/v1beta1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:labels:
f:hive.openshift.io/machine-pool: {}
f:hive.openshift.io/managed: {}
manager: manager
operation: Update
name: ocp4-tokyo-aws-vlj67-master-ap-northeast-1a
namespace: openshift-machine-api
spec:
replicas: 1
selector:
matchLabels:
machine.openshift.io/cluster-api-cluster: ocp4-tokyo-aws-vlj67
machine.openshift.io/cluster-api-machineset: ocp4-tokyo-aws-vlj67-master-ap-northeast-1a
template:
metadata:
labels:
machine.openshift.io/cluster-api-cluster: ocp4-tokyo-aws-vlj67
machine.openshift.io/cluster-api-machine-role: master
machine.openshift.io/cluster-api-machine-type: master
machine.openshift.io/cluster-api-machineset: ocp4-tokyo-aws-vlj67-master-ap-northeast-1a
spec:
metadata: {}
providerSpec:
value:
ami:
id: ami-0cb46ba6945dbfebe
apiVersion: awsproviderconfig.openshift.io/v1beta1
blockDevices:
- ebs:
encrypted: true
iops: 2000
kmsKey:
arn: ""
volumeSize: 100
volumeType: io1
credentialsSecret:
name: aws-cloud-credentials
deviceIndex: 0
iamInstanceProfile:
id: ocp4-tokyo-aws-vlj67-master-profile
instanceType: m5.xlarge
kind: AWSMachineProviderConfig
metadata:
creationTimestamp: null
placement:
availabilityZone: ap-northeast-1a
region: ap-northeast-1
securityGroups:
- filters:
- name: tag:Name
values:
- ocp4-tokyo-aws-vlj67-master-sg
subnet:
filters:
- name: tag:Name
values:
- ocp4-tokyo-aws-vlj67-private-ap-northeast-1a
tags:
- name: kubernetes.io/cluster/ocp4-tokyo-aws-vlj67
value: owned
userDataSecret:
name: master-user-data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment