You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
I was trying to make 'Headless service' with this code
- name: create test service
k8s_v1_service:
name: test
namespace: '{{ namespace }}'
state: present
labels:
app: test
selector:
app: test
spec_cluster_ip: 'None'
ports:
- port: 1234
protocol: TCP
But, it doesn't work. It seems that any of the aliases (cluster_ip: && spec: cluster_ip:) of spec_cluster_ip: doesn't work.
Is there anyone who tried to make Headless service using APB?
The text was updated successfully, but these errors were encountered:
@rahulinux
I expected that the provisioned service has its Cluster IP as 'None', but it has a random IP address.
I think the ansible service broker has some kind of a problem in this part, becuase if I made the same service with direct yaml file
( Project name -> Application -> Services -> Add to Project -> Import YAML / JSON)
, it's perfectly working, having its Cluster IP as 'None'.
Here is the direct YAML file which provision the same service.
I was trying to make 'Headless service' with this code
But, it doesn't work. It seems that any of the aliases (cluster_ip: && spec: cluster_ip:) of spec_cluster_ip: doesn't work.
Is there anyone who tried to make Headless service using APB?
The text was updated successfully, but these errors were encountered: