Use Kubectl command instead of kustomize (#331)

Since 1.14, Kubectl also supports the management of Kubernetes objects using a kustomization file.
cf. https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/#bases-and-overlays
This commit is contained in:
Chimon Sultan 2023-01-04 13:18:59 +01:00 committed by GitHub
parent c7f89d43d5
commit f1e2be3a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
## Requirements ## Requirements
1. Running Kubernetes cluster 1. Running Kubernetes cluster
2. Kustomize binary installed 2. Kubctl version 1.14 or above
## Objectives ## Objectives
@ -28,4 +28,4 @@ resources:
- deployment.yml - deployment.yml
``` ```
2. Run `kustomize build someApp` 2. Run `kubectl apply -k someApp`