sparse-intern-71089
10/14/2019, 8:31 PMbrave-angle-33257
10/14/2019, 8:31 PMbrave-angle-33257
10/14/2019, 8:32 PMlet vpc = new awsx.ec2.Vpc("k8s-vpc", {
numberOfAvailabilityZones: 2,
numberOfNatGateways: 0,
});
let cluster = new eks.Cluster("grcp", {
vpcId: vpc.id,
subnetIds: vpc.publicSubnetIds,
minSize: 1,
maxSize: 2,
deployDashboard: false
});
brave-angle-33257
10/14/2019, 8:32 PMkubectl
commands as per the doc, the service never comes up, I dont get any load balancer, it just says “pending” under external-ip foreverbrave-angle-33257
10/14/2019, 8:33 PM$ kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
echo-service LoadBalancer 172.20.73.124 <pending> 80:31583/TCP,443:31403/TCP 7m41s
kubernetes ClusterIP 172.20.0.1 <none> 443/TCP 62m
brave-angle-33257
10/14/2019, 8:33 PMbrave-angle-33257
10/14/2019, 8:33 PMbrave-angle-33257
10/14/2019, 10:47 PMbrave-angle-33257
10/14/2019, 10:48 PM├─ awsx:x:ec2:Vpc k8s-vpc
~ │ ├─ aws:ec2:Vpc k8s-vpc updated [diff: -tags]
│ ├─ awsx:x:ec2:Subnet k8s-vpc-public-1
~ │ │ └─ aws:ec2:Subnet k8s-vpc-public-1 updated [diff: ~tags]
│ ├─ awsx:x:ec2:Subnet k8s-vpc-public-0
~ │ │ └─ aws:ec2:Subnet k8s-vpc-public-0 updated [diff: ~tags]
│ ├─ awsx:x:ec2:Subnet k8s-vpc-private-0
~ │ │ └─ aws:ec2:Subnet k8s-vpc-private-0 updated [diff: ~tags]
│ └─ awsx:x:ec2:Subnet k8s-vpc-private-1
~ │ └─ aws:ec2:Subnet k8s-vpc-private-1 updated [diff: ~tags]
brave-angle-33257
10/14/2019, 10:48 PMbrave-angle-33257
10/14/2019, 10:48 PMwhite-balloon-205
brave-angle-33257
10/15/2019, 2:48 PMlet vpc = new awsx.ec2.Vpc(`k8s-vpc-${env}`, {
subnets: [{
type: 'public',
ignoreChanges: [
'tags'
]
}, {
type: 'private',
ignoreChanges: [
'tags'
]
}]
}, {
ignoreChanges: [
'tags'
]
});
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by