flat-insurance-25294
10/01/2020, 9:14 PMbroad-dog-22463
10/01/2020, 9:15 PMflat-insurance-25294
10/01/2020, 9:15 PMflat-insurance-25294
10/01/2020, 9:16 PMbroad-dog-22463
10/01/2020, 9:17 PMbroad-dog-22463
10/01/2020, 9:17 PMbroad-dog-22463
10/01/2020, 9:18 PMbroad-dog-22463
10/01/2020, 9:18 PMflat-insurance-25294
10/01/2020, 9:18 PMDeployment/Pod
spec is computed from whatever Pulumi gives us as a result of its awsx/ECR
API.
It is not manually typed by us, we’re relying on the output of
const image = buildAndPushImage(name: "app:23", pathOrBuild: "./app")
To give consistent values so the only change is the replica
count when Pulumi speaks with k8.broad-dog-22463
10/01/2020, 9:18 PMbroad-dog-22463
10/01/2020, 9:19 PMbroad-dog-22463
10/01/2020, 9:19 PMbroad-dog-22463
10/01/2020, 9:20 PMflat-insurance-25294
10/01/2020, 9:27 PMbroad-dog-22463
10/01/2020, 9:28 PMbroad-dog-22463
10/01/2020, 9:28 PMflat-insurance-25294
10/01/2020, 9:28 PMbuildAndPushImage().image()
does when it’s used in conjunction with awsx/kubernetes/EKS
Inside a Deployment/Pod
manifest for containers.
spec: {
containers: [{
image, // **Use the image built above**
}],
I know the string would be something like
<http://012345678901.dkr.ecr.us-west-2.amazonaws.com/my-repo-e2fe830:latest|012345678901.dkr.ecr.us-west-2.amazonaws.com/my-repo-e2fe830:latest>
Where parts of that is based on AWS meta-data like ID, region etc.broad-dog-22463
10/01/2020, 9:29 PMbroad-dog-22463
10/01/2020, 9:29 PMbroad-dog-22463
10/01/2020, 9:29 PMflat-insurance-25294
10/01/2020, 9:31 PM<http://amazonaws.com/my-repo-e2fe830:latest|amazonaws.com/my-repo-e2fe830:latest>
each time.
The newer pods will run a new image if Docker failed to understand that there is no need for a new “image push” - that’s not on Pulumi though.
That can happen for loads of reasons, e.g poorly made Dockerfile, etc.broad-dog-22463
10/01/2020, 9:32 PMflat-insurance-25294
10/01/2020, 9:32 PMflat-insurance-25294
10/01/2020, 9:33 PMflat-insurance-25294
10/01/2020, 9:34 PMbroad-dog-22463
10/01/2020, 9:36 PMquaint-electrician-41503
10/02/2020, 6:37 PMhelm -f values.yaml name /path/to/chart
quaint-electrician-41503
10/02/2020, 6:38 PMvalues.yaml
from LocalChartOpts
. I found kubernetes.yaml
but can't seem to get the proper values from E.G. ConfigFile
quaint-electrician-41503
10/02/2020, 6:41 PMbroad-dog-22463
10/02/2020, 6:42 PMbroad-dog-22463
10/02/2020, 6:42 PM