sparse-intern-71089
09/20/2019, 12:08 AMwhite-balloon-205
k8s.yaml.ConfigFile(...)
that you can point at some yaml and deploy that via Pulumi.white-balloon-205
worried-city-86458
09/20/2019, 2:49 AMworried-city-86458
09/20/2019, 2:50 AMType Name Plan
pulumi:pulumi:Stack k8s-infra-dev
└─ eks:index:Cluster Dev-Eks
+ ├─ kubernetes:yaml:ConfigFile fluent-bit.yml create
+ │ ├─ kubernetes:core:ServiceAccount default/fluent-bit create
+ │ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRoleBinding|rbac.authorization.k8s.io:ClusterRoleBinding> fluent-bit-read create
+ │ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> fluent-bit-read create
+ │ ├─ kubernetes:core:ConfigMap default/fluent-bit-config create
+ │ └─ kubernetes:apps:DaemonSet default/fluent-bit create
└─ eks:index:NodeGroup Dev-Eks-nodeGroup
- └─ kubernetes:yaml:ConfigFile fluent-bit.yml delete
- ├─ kubernetes:core:ServiceAccount default/fluent-bit delete
- ├─ kubernetes:apps:DaemonSet default/fluent-bit delete
- ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRoleBinding|rbac.authorization.k8s.io:ClusterRoleBinding> fluent-bit-read delete
- ├─ kubernetes:core:ConfigMap default/fluent-bit-config delete
- └─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> fluent-bit-read delete
worried-city-86458
09/20/2019, 2:51 AMType Name Status Info
pulumi:pulumi:Stack k8s-infra-dev **failed** 1 error
└─ eks:index:Cluster Dev-Eks
+ └─ kubernetes:yaml:ConfigFile fluent-bit.yml created
+ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRoleBinding|rbac.authorization.k8s.io:ClusterRoleBinding> fluent-bit-read **creating failed** 1 error
+ ├─ kubernetes:core:ServiceAccount default/fluent-bit **creating failed** 1 error
+ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> fluent-bit-read **creating failed** 1 error
+ ├─ kubernetes:core:ConfigMap default/fluent-bit-config **creating failed** 1 error
+ └─ kubernetes:apps:DaemonSet default/fluent-bit **creating failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (k8s-infra-dev):
error: update failed
kubernetes:core:ServiceAccount (default/fluent-bit):
error: Plan apply failed: resource default/fluent-bit was not successfully created by the Kubernetes API server : serviceaccounts "fluent-bit" already exists
kubernetes:<http://rbac.authorization.k8s.io:ClusterRoleBinding|rbac.authorization.k8s.io:ClusterRoleBinding> (fluent-bit-read):
error: Plan apply failed: resource fluent-bit-read was not successfully created by the Kubernetes API server : <http://clusterrolebindings.rbac.authorization.k8s.io|clusterrolebindings.rbac.authorization.k8s.io> "fluent-bit-read" alread
y exists
kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> (fluent-bit-read):
error: Plan apply failed: resource fluent-bit-read was not successfully created by the Kubernetes API server : <http://clusterroles.rbac.authorization.k8s.io|clusterroles.rbac.authorization.k8s.io> "fluent-bit-read" already exist
s
kubernetes:apps:DaemonSet (default/fluent-bit):
error: Plan apply failed: resource default/fluent-bit was not successfully created by the Kubernetes API server : daemonsets.apps "fluent-bit" already exists
kubernetes:core:ConfigMap (default/fluent-bit-config):
error: Plan apply failed: resource default/fluent-bit-config was not successfully created by the Kubernetes API server : configmaps "fluent-bit-config" already exists
worried-city-86458
09/20/2019, 2:59 AMdeleteBeforeReplace
worried-city-86458
09/20/2019, 3:00 AMworried-city-86458
09/20/2019, 3:06 AMwhite-balloon-205
aliases
to indicate what name the resources used to have so that you avoid the need to delete and recreate.
https://www.pulumi.com/docs/intro/concepts/programming-model/#aliasesworried-city-86458
09/20/2019, 3:22 AM