Skip to content
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

bug: workloadentry + service stay on incorrect port #27151

Closed
kyessenov opened this issue Sep 8, 2020 · 1 comment · Fixed by #27184
Closed

bug: workloadentry + service stay on incorrect port #27151

kyessenov opened this issue Sep 8, 2020 · 1 comment · Fixed by #27184
Assignees

Comments

@kyessenov
Copy link
Contributor

kyessenov commented Sep 8, 2020

The following config does not appear to work:

apiVersion: v1
kind: Service
metadata:
  labels:
    asm_resource_type: VM
  name: kuat-xxx-vm
  namespace: xxx-bugbash-vm-3
spec:
  ports:
  - name: http
    port: 8090
    protocol: TCP
    targetPort: 8090
  selector:
    app: kuat-xxx-vm
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
---
apiVersion: networking.istio.io/v1beta1
kind: WorkloadEntry
metadata:
  name: kuat-xxx-vm
  namespace: xxx-bugbash-vm-3
spec:
  address: xxxxxxx
  labels:
    app: kuat-xxx-vm
  serviceAccount: xxxxx

istioctl pc endpoint shows:

SERVICE_VIP:80                    HEALTHY     OK                outbound|8090||kuat-asm-vm.asm-bugbash-vm-3.svc.cluster.local

Note that port 80 is used instead of the desired 8090.

cc @howardjohn

@kyessenov
Copy link
Contributor Author

This happens if the original config has 80 and then edited to have 8090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants