Remove Endpoints from manifests (Argo CD excludes them), add setup comments

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>
This commit is contained in:
kappa
2026-03-12 16:26:09 +09:00
parent 79c25e0759
commit da020d4c4a
2 changed files with 34 additions and 26 deletions

View File

@@ -1,3 +1,20 @@
# 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: anvil
# subsets:
# - addresses:
# - ip: 192.168.9.140
# ports:
# - name: mysql
# port: 6033
# - name: admin
# port: 6032
# EOF
apiVersion: v1
kind: Service
metadata:
@@ -10,16 +27,3 @@ spec:
- name: admin
port: 6032
targetPort: 6032
---
apiVersion: v1
kind: Endpoints
metadata:
name: proxysql
subsets:
- addresses:
- ip: 192.168.9.140
ports:
- name: mysql
port: 6033
- name: admin
port: 6032

View File

@@ -1,3 +1,20 @@
# 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:
@@ -10,16 +27,3 @@ spec:
- name: admin
port: 6032
targetPort: 6032
---
apiVersion: v1
kind: Endpoints
metadata:
name: proxysql
subsets:
- addresses:
- ip: 192.168.9.140
ports:
- name: mysql
port: 6033
- name: admin
port: 6032