스터디/DOIK
K8S MySQL Operator 설치 - DOIK 스터디 2주차
K8S MySQL Operator 설치 apt install mariadb-client -y mysql -h $MYSQLIP -uroot -psakila -e "SELECT @@hostname;SELECT @@max_connections;" # service.yaml --- apiVersion: v1 kind: Service metadata: labels: application: kube-ops-view component: frontend name: kube-ops-view spec: selector: application: kube-ops-view component: frontend type: NodePort ports: - port: 80 protocol: TCP targetPort: 8080 # ..