-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-cluster TS fails to create when 2 of them point to the same service #3538
Comments
Created [CONTCNTR-4852] for internal tracking. |
Hi @avinashchundu9, Assuming that you are facing problem while creating Transport Server CRs as follows:
#TS 2
If there are any differences or additional details, please let me know. This will help me replicate the issue and work towards a solution. |
|
Thanks @avinashchundu9 for sharing the details. |
Thank you for pointing out. I updated YAML's. |
I get same issue when I create two virtual server on same service. CIS Version : 2.18.0 ctrl pod error log
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 1
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:latest
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
selector:
app: nginx
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80
type: ClusterIP
---
apiVersion: "cis.f5.com/v1"
kind: VirtualServer
metadata:
name: nginx-service-virtual-server
labels:
f5cr: "true"
spec:
virtualServerAddress: "10.9.55.34"
virtualServerName: nginx-service-virtual-server
waf: /Common/nginx_test
defaultPool:
reference: service
service: nginx-service
serviceNamespace: default
servicePort: 80
pools:
- path: /
service: nginx-service
servicePort: 80
monitors:
- type: http
send: /
interval: 5
timeout: 10
serviceAddress:
- icmpEcho: "enable"
arpEnabled: true
routeAdvertisement: "all"
---
apiVersion: cis.f5.com/v1
kind: TLSProfile
metadata:
name: nginx-tls
labels:
f5cr: "true"
spec:
tls:
termination: edge
clientSSL: /Common/nginx-dev
reference: bigip
---
apiVersion: "cis.f5.com/v1"
kind: VirtualServer
metadata:
name: nginx-service-virtual-server-https
labels:
f5cr: "true"
spec:
virtualServerAddress: "10.9.55.34"
tlsProfileName: nginx-tls
virtualServerName: nginx-service-virtual-server-https
waf: /Common/nginx_test
defaultPool:
reference: service
service: nginx-service
serviceNamespace: default
servicePort: 80
pools:
- path: /
service: nginx-service
servicePort: 80
monitors:
- name: /Common/http
reference: bigip
type: http
send: /
interval: 5
timeout: 10
serviceAddress:
- icmpEcho: "enable"
arpEnabled: true
routeAdvertisement: "all"
|
@nansenat16 , Please update your health monitor s follows and try:
|
@nansenat16 , I see you have created two virtual server with same service and same path only difference is one is on secure and other insecure virtual server. I believe you are trying to configure the httpTraffic termination allow. You can achieve this using the single virtual server CR itself. as follows:
|
Setup Details
CIS Version : 2.17.1
Build: f5networks/k8s-bigip-ctlr:latest
BIGIP Version: Big IP v16.1.3.1
AS3 Version: 3.46v1.28.10
Agent Mode: AS3
Orchestration: K8S
Orchestration Version: v1.28.10
Pool Mode: Nodeport
Description
Multi-cluster TS fails to create when 2 of them point to the same service
Steps To Reproduce
Expected Result
Both Transport servers should be working
Actual Result
2nd transport server not working.
The text was updated successfully, but these errors were encountered: