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

NSG rule not created when setting IPv6 single stack allowed source range in v1.26 and v1.25 #5366

Closed
zarvd opened this issue Feb 4, 2024 · 2 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@zarvd
Copy link
Contributor

zarvd commented Feb 4, 2024

What happened:

apiVersion: v1
kind: Service
metadata:
  name: foo
spec:
  type: LoadBalancer
  selector:
    app: foo
  ipFamilies:
  - IPv6
  ipFamilyPolicy: SingleStack
  loadBalancerSourceRanges:
  - fd00::/8
  ports:
  - name: https
    port: 443
    protocol: TCP
    targetPort: 443

When applying the above manifest, the NSG rule was not created as expected.

What you expected to happen:

An NSG rule for IPv6 was created.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

It's a bug exposed in #5123 that doesn’t properly handle the scenario of a single IPv6 stack.

Environment:

  • Kubernetes version (use kubectl version): v1.26 / v1.25
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Network plugin and version (if this is a network-related bug):
  • Others:
@zarvd zarvd added the kind/bug Categorizes issue or PR as related to a bug. label Feb 4, 2024
@zarvd
Copy link
Contributor Author

zarvd commented Feb 4, 2024

/assign

@zarvd
Copy link
Contributor Author

zarvd commented Feb 6, 2024

fixed via #5367

@zarvd zarvd closed this as completed Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant