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

能不能在服务描述中去掉annotation相关 #372

Open
bestming8 opened this issue Dec 20, 2023 · 0 comments
Open

能不能在服务描述中去掉annotation相关 #372

bestming8 opened this issue Dec 20, 2023 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@bestming8
Copy link

Is your feature request related to a problem? Please describe.
创建的Service要加
annotations:
lb.kubesphere.io/v1alpha1: openelb
protocol.openelb.kubesphere.io/v1alpha1: layer2
eip.openelb.kubesphere.io/v1alpha2: layer2-eip
感觉特繁琐,能否不加?

例如,
kind: Service
apiVersion: v1
metadata:
name: layer2-svc
annotations:
lb.kubesphere.io/v1alpha1: openelb
protocol.openelb.kubesphere.io/v1alpha1: layer2
eip.openelb.kubesphere.io/v1alpha2: layer2-eip
spec:
selector:
app: layer2-openelb
type: LoadBalancer
ports:
- name: http
port: 99
targetPort: 8080
externalTrafficPolicy: Cluster

Describe the solution you'd like
去掉annotions相关

kind: Service
apiVersion: v1
metadata:
name: layer2-svc
spec:
selector:
app: layer2-openelb
type: LoadBalancer
ports:
- name: http
port: 99
targetPort: 8080
externalTrafficPolicy: Cluster

Describe alternatives you've considered

Additional context

@bestming8 bestming8 added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant