sparse-insurance-40223
09/27/2018, 4:29 PMconst image = `${infra.containers.name.apply(x => x)}.<http://azurecr.io/test:0.1.1|azurecr.io/test:0.1.1>`
stocky-spoon-28903
09/27/2018, 4:31 PMconst image = infra.containers.name.apply(x => `${x}.<http://azurecr.io/test.io:0.1.1`)|azurecr.io/test.io:0.1.1`)>
theresparse-insurance-40223
09/27/2018, 4:32 PMcreamy-potato-29402
09/27/2018, 4:36 PMsparse-insurance-40223
09/27/2018, 4:37 PMDiagnostics:
kubernetes:apps:Deployment: test
error: Preview failed: 5 errors occurred:
* Resource 'test' was created but failed to initialize
* [MinimumReplicasUnavailable] Deployment does not have minimum availability.
* [ProgressDeadlineExceeded] ReplicaSet "test-648575886b" has timed out progressing.
* Minimum number of live Pods was not attained
* 1 Pods failed to run because: [InvalidImageName] Failed to apply default image tag "[object Object].<http://azurecr.io/test:0.1.1|azurecr.io/test:0.1.1>": couldn't parse image reference "[object Object].<http://azurecr.io/test:0.1.1|azurecr.io/test:0.1.1>": invalid reference format
error: an error occurred while advancing the preview
const name = "test";
const image = "<http://testcontainer.azurecr.io/test:0.1.1|testcontainer.azurecr.io/test:0.1.1>";
const labels = {
"app": "test"
};
export const deployment = new k8s.apps.v1.Deployment(name, {
metadata: {
namespace: namespace.metadata.apply(x => x.name),
name: name,
labels: labels,
},
spec: {
selector: { matchLabels: labels },
replicas: 1,
template: {
namespace: namespace.metadata.apply(x => x.name),
metadata: { labels: labels },
spec: {
containers: [{
name: name,
image: image,
ports: [{
containerPort: 80
}],
}]
}
}
}
}, { provider: milestone1Cluster.provider });
creamy-potato-29402
09/27/2018, 4:40 PMsparse-insurance-40223
09/27/2018, 4:40 PMcreamy-potato-29402
09/27/2018, 4:41 PMsparse-insurance-40223
09/27/2018, 4:42 PMcreamy-potato-29402
09/27/2018, 4:43 PMsparse-insurance-40223
09/27/2018, 4:43 PMcreamy-potato-29402
09/27/2018, 4:43 PMsparse-insurance-40223
09/27/2018, 4:44 PMcreamy-potato-29402
09/27/2018, 4:47 PMsparse-insurance-40223
09/27/2018, 5:18 PM