Troubleshoot DNS vi dns.yml apiVersion: v1 kind: Pod metadata: name: dnsutils namespace: default spec: containers: - name: dnsutils image: registry.k8s.io/e2e-test-images/jessie-dnsutils:1.3 command: - sleep - "infinity" imagePullPolicy: IfNotPresent restartPolicy: Always deploy dnsutils k apply -f dns.yml...
Some time ago, I made a small shell script to handle Vault on a cluster kubernetes. For documentation purpose. Install Vault with helm #!/bin/bash ## Variables DIRNAME=$(dirname $0) DEFAULT_VALUE="vault/values-override.yaml" NewAdminPasswd="PASSWORD" PRIVATE_REGISTRY_USER="registry-admin"...
Specific to RHEL # Create a trust zone for the two interconnect sudo firewall-cmd --permanent --zone=trusted --add-source=10.42.0.0/16 #pods sudo firewall-cmd --permanent --zone=trusted --add-source=10.43.0.0/16 #services sudo firewall-cmd --reload sudo firewall-cmd --list-all-zones # on Master sudo rm -f...
Operators have 3 kinds : go, ansible, helm. ## Init an Ansible project operator-sdk init --plugins=ansible --domain example.org --owner "Your name" ## Command above will create a structure like: netbox-operator ├── Dockerfile ├── Makefile ├── PROJECT ├── config │ ├── crd │ ├── default │ ├── manager │ ├── manifests │...