Skip to content

Instantly share code, notes, and snippets.

@luckymagic7
Created April 29, 2019 08:12
Show Gist options
  • Save luckymagic7/a6037bca3af43bab1a4a4ad1e6edd395 to your computer and use it in GitHub Desktop.
Save luckymagic7/a6037bca3af43bab1a4a4ad1e6edd395 to your computer and use it in GitHub Desktop.
apiVersion: kops/v1alpha2
kind: Cluster
metadata:
creationTimestamp: 2019-04-29T07:18:40Z
name: $클러스터이름
spec:
api:
dns: {}
authorization:
rbac: {}
channel: stable
cloudConfig:
disableSecurityGroupIngress: true
elbSecurityGroup: $보안그룹ID
cloudProvider: aws
configBase: s3://$버킷경로
dnsZone: $DNS호스트존
etcdClusters:
- cpuRequest: 200m
etcdMembers:
- instanceGroup: master-ap-northeast-2a
name: a
memoryRequest: 100Mi
name: main
- cpuRequest: 100m
etcdMembers:
- instanceGroup: master-ap-northeast-2a
name: a
memoryRequest: 100Mi
name: events
iam:
allowContainerRegistry: true
legacy: false
kubelet:
anonymousAuth: false
authenticationTokenWebhook: true
authorizationMode: Webhook
kubernetesApiAccess:
- 0.0.0.0/0
kubernetesVersion: 1.14.1
masterInternalName: api.internal.$클러스터이름
masterPublicName: api.$클러스터이름
networkCIDR: $VPC_CIDR
networkID: $VPC_ID
networking:
kubenet: {}
nonMasqueradeCIDR: 100.64.0.0/10
sshAccess:
- $사내IP
subnets:
- cidr: $SUBNET_CIDR
id: $SUBNET_ID
name: ap-northeast-2a
type: Public
zone: ap-northeast-2a
topology:
dns:
type: Public
masters: public
nodes: public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment