Argo CD excludes Endpoints by default, so they must be managed manually. Added kubectl apply commands as comments in the service files for reference. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
604 B
YAML
30 lines
604 B
YAML
# ProxySQL service pointing to external Incus ProxySQL (192.168.9.140)
|
|
# Endpoints are managed manually (Argo CD excludes Endpoints by default):
|
|
# kubectl apply -f - <<EOF
|
|
# apiVersion: v1
|
|
# kind: Endpoints
|
|
# metadata:
|
|
# name: proxysql
|
|
# namespace: ironclad
|
|
# subsets:
|
|
# - addresses:
|
|
# - ip: 192.168.9.140
|
|
# ports:
|
|
# - name: mysql
|
|
# port: 6033
|
|
# - name: admin
|
|
# port: 6032
|
|
# EOF
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: proxysql
|
|
spec:
|
|
ports:
|
|
- name: mysql
|
|
port: 3306
|
|
targetPort: 6033
|
|
- name: admin
|
|
port: 6032
|
|
targetPort: 6032
|