I am Deploying applications on Kubernetes (EKS Cluster) as type: LoadBalancer. Below is a Sample Service
kind: Service
apiVersion: v1
metadata:
name: kafka-manager
namespace: kafka
spec:
selector:
app: kafka-manager
type: LoadBalancer
ports:
- port: 9000
protocol: TCP
targetPort: 9000
Can we Store the Loadbalancer url for the services in the form of Variables ?
I do not want to define the Load balancer URL in the deployment file manually as I am trying to create automated pipelines , the app deployment file should take the URL itself once after successfully creating the service .
Kindly let me know how we can do that
Thanks in advance