Devops
Desplegando mysql+phpmyadmin+tls .yaml en Kubernetes
Vamos a desplegar un contenedor mysql 5.7 con un front phpmyadmin vi mysql.yaml apiVersion: v1 kind: Namespace metadata: name: phpmyadmin-mysql — apiVersion: v1 kind: Secret metadata: name: mysql-secret namespace: phpmyadmin-mysql type: Opaque data: ROOT_PASSWORD: cGFzc3dvcmQ= — apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mysql-data-disk namespace: phpmyadmin-mysql spec: accessModes: – ReadWriteOnce resources: requests: storage: 10Gi — apiVersion: apps/v1 kind: Deployment metadata: name: mysql-deployment namespace: phpmyadmin-mysql labels: app: phpmyadmin-mysql spec: replicas: 1 selector: matchLabels: app: mysql template: metadata: Leer más…