creamy-potato-29402
08/27/2018, 5:34 PMcreamy-potato-29402
08/27/2018, 5:34 PMgray-city-50684
08/27/2018, 5:36 PMcreamy-potato-29402
08/27/2018, 5:37 PMCrd
class, and it’s not clear to me yet what the implications of this are.creamy-potato-29402
08/27/2018, 5:38 PMgray-city-50684
08/27/2018, 5:38 PMgray-city-50684
08/27/2018, 5:39 PMabundant-application-244
08/27/2018, 5:40 PMgray-city-50684
08/27/2018, 5:40 PMgray-city-50684
08/27/2018, 5:41 PMaz aks get-credentials --resource-group ${resourceGroupName} --name ${clustername}
creamy-potato-29402
08/27/2018, 5:42 PMpulumi
.all([k8sCluster.name, k8sResourceGroup.name])
.apply([cluster, group] => `az aks get-credentials --resource-group ${resourceGroupName} --name ${clustername}`)
gray-city-50684
08/27/2018, 5:43 PMcreamy-potato-29402
08/27/2018, 5:46 PMuser
08/27/2018, 7:57 PMflaky-receptionist-88878
08/27/2018, 8:06 PMimportant-jackal-88836
08/27/2018, 9:04 PMimportant-jackal-88836
08/27/2018, 9:05 PMmicroscopic-florist-22719
08/27/2018, 9:06 PMmicroscopic-florist-22719
08/27/2018, 9:07 PMkubernetes.yaml.ConfigGroup
is your friend here.microscopic-florist-22719
08/27/2018, 9:08 PMcreamy-potato-29402
08/27/2018, 9:22 PMcreamy-potato-29402
08/27/2018, 9:22 PMimport * as k8s from "@pulumi/kubernetes";
// Create resources from standard Kubernetes guestbook YAML example.
const guestbook = new k8s.yaml.ConfigGroup("guestbook", { files: "yaml/*.yaml" });
// Export the (cluster-private) IP address of the Guestbook frontend.
const frontend = guestbook.getResource("v1/Service", "frontend");
export const frontendIp = frontend.spec.apply(spec => spec.clusterIP);
creamy-potato-29402
08/27/2018, 9:22 PMimportant-jackal-88836
08/27/2018, 9:24 PMcreamy-potato-29402
08/27/2018, 9:25 PMcreamy-potato-29402
08/27/2018, 9:26 PMimportant-jackal-88836
08/27/2018, 9:27 PMechoing-jelly-67975
08/27/2018, 9:27 PMimportant-jackal-88836
08/27/2018, 10:21 PMimportant-jackal-88836
08/27/2018, 10:41 PMimportant-jackal-88836
08/27/2018, 10:41 PM