We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A service can be annotated in kubernetes to include a prefix path for the service, such as /hello in this example: https://github.com/rhuss/fabric8-maven-plugin/blob/master/samples/external-resources/src/main/fabric8/service.yml
/hello
In my example then I type minshift service hello and it opens
minshift service hello
http://192.168.64.5:32623/
But with the annotated the context-path should include /hello eg so its
http://192.168.64.5:32623/hello
In my own project I manually declare a service so I can specify that context-path annotation but also show how to chose port numbers for the service
I have a src/main/fabric8/service.yml file with some kubenetes metadata:
src/main/fabric8/service.yml
metadata: annotations: api.service.kubernetes.io/path: /hello name: "hello" spec: ports: - port: 8181 protocol: "TCP" targetPort: 8080 type: LoadBalancer
The text was updated successfully, but these errors were encountered:
btw Kurt Stam knows much more about that kubernetes annotation as he help design that for k8s as part of apiman showing a demand for such thing
Sorry, something went wrong.
No branches or pull requests
A service can be annotated in kubernetes to include a prefix path for the service, such as
/hello
in this example: https://github.com/rhuss/fabric8-maven-plugin/blob/master/samples/external-resources/src/main/fabric8/service.ymlIn my example then I type
minshift service hello
and it opensBut with the annotated the context-path should include
/hello
eg so itsIn my own project I manually declare a service so I can specify that context-path annotation but also show how to chose port numbers for the service
I have a
src/main/fabric8/service.yml
file with some kubenetes metadata:The text was updated successfully, but these errors were encountered: