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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a DevOps engineer, I assemble stacks from generic components. Sometimes, before or after I deploy a component, I need to perform an action that extends the component and often is environment or context-specific.
An example:
The Grafana component in GCP Support MGMT Stack
Responsibilities of the generic Grafana component:
Template values.yaml file of the corresponding Helm chart
Run helm install to deploy the component to Kubernetes
Run helm delete to undeploy the component from Kubernetes
Responsibilities of the lifecycle hooks:
Before deploy
Prepare Kubernetes context for deployment (the way how to retrieve the context differs from cloud to cloud)
After deploy
Deploy GCP Support data sources and dashboards to Grafana
Before undeploy
Prepare Kubernetes context for deployment (the way how to retrieve the context differs from cloud to cloud)
This approach allows keeping Grafana component KISS, if-less programming, and no cloud or env-specific code in the body of the component.
As a DevOps engineer, I assemble stacks from generic components. Sometimes, before or after I deploy a component, I need to perform an action that extends the component and often is environment or context-specific.
An example:
The Grafana component in GCP Support MGMT Stack
Responsibilities of the generic Grafana component:
values.yaml
file of the corresponding Helm charthelm install
to deploy the component to Kuberneteshelm delete
to undeploy the component from KubernetesResponsibilities of the lifecycle hooks:
Before deploy
After deploy
Before undeploy
This approach allows keeping Grafana component KISS, if-less programming, and no cloud or env-specific code in the body of the component.
Agreed on:
To do:
The text was updated successfully, but these errors were encountered: