3 min read
Just as with kubectl diff, there's a helm plugin that helm us to the the actual differences that it will apply to the kubernetes cluster without much of the clutter that we will find by combining kubectl diff with the yaml output of a helm dry-run
15/01/2021
Read more...2 min read
When you create a new deployment you usually focus on:
Beside this, all the other required lines on the yaml are boilerplate so it's quite easy to forget about them.
14/01/2021
Read more...2 min read
Krew is a plugin manager for kubectl (v1.12 or higher), we will need to install krew first. To be able to test the unused-volumes plugin we will have to create a PersistentVolumeClaim that we won't use on any pot:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: demo-pvc
namespace: kube-system
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
13/01/2021
Read more...2 min read
If you are writing a helm chart, it makes no sense to add all the yaml files on your helm chart when there's already a helm chart for some of the components: It's always best to reuse existing code so including another chart as dependency will deploy all the related yaml files.
dependencies:
- name: minio
version: 8.0.8
repository: https://helm.min.io/
Nevertheless, how do we change a default value for the chart we add as dependency?
12/01/2021
Read more...2 min read
In case we have some objects on the kubernetes cluster that we want to modify but we don't have the original yaml, we can retrieve the object in yaml format from the cluster using kubectl
11/01/2021
Read more...