Skip to content
Permalink
Branch: master
Find file Copy path
3 contributors

Users who have contributed to this file

@lukehoban @joeduffy @hausdorff
25 lines (19 sloc) 644 Bytes
import * as pulumi from "@pulumi/pulumi";
import * as k8sjs from "./k8sjs";
let config = new pulumi.Config();
let redisMaster = new k8sjs.ServiceDeployment("redis-master", {
image: "k8s.gcr.io/redis:e2e",
ports: [6379]
});
let redisReplica = new k8sjs.ServiceDeployment("redis-replica", {
image: "gcr.io/google_samples/gb-redisslave:v1",
ports: [6379]
});
let frontend = new k8sjs.ServiceDeployment("frontend", {
replicas: 3,
image: "gcr.io/google-samples/gb-frontend:v4",
ports: [80],
allocateIpAddress: true,
isMinikube: config.getBoolean("isMinikube")
});
export let frontendIp = frontend.ipAddress;
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.