2022-10-25 22:39:59 +02:00
|
|
|
# Kustomize - Common Labels
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
1. Running Kubernetes cluster
|
2023-01-04 13:18:35 +01:00
|
|
|
2. Kubctl version 1.14 or above
|
2022-10-25 22:39:59 +02:00
|
|
|
|
|
|
|
## Objectives
|
|
|
|
|
|
|
|
In the current directory there is an app composed of a Deployment and Service.
|
|
|
|
|
|
|
|
1. Write a kustomization.yml file that will add to both the Service and Deployment the label "team-name: aces"
|
|
|
|
2. Execute a kustomize command that will generate the customized k8s files with the label appended
|
|
|
|
|
|
|
|
## Solution
|
|
|
|
|
2023-01-04 13:18:35 +01:00
|
|
|
Click [here](solution.md) to view the solution
|