Question: I got a rabbitmq cluster running with a stateful set but I am confused on how to access the headless service the doesn’t seem to be an environment variable available for that headless service. How do I connect to my rabbit cluster?

Asked By
nemesisesq
Asked At
2017-08-07 18:10:48

Found 15 possible answers.

User Answered At Possible Answer
skarbek 2017-08-07 18:13:08 i thought headless services don't create those envs vars as it's not expected that there would be something to connect too
nemesisesq 2017-08-07 18:14:56 can I find it through dns> ?
mimizone 2017-08-07 18:18:25 anybody has done a private docker registry setup with authentication using Github by any chance?
clayrichardson 2017-08-07 18:30:37 @clayrichardson uploaded a file: Pasted image at 2017-08-07, 11:31 AM https://kubernetes.slack.com/files/clayrichardson/F6JNABZ3K/pasted_image_at_2017_08_07_11_31_am.png I couldn't find it in the docs, is it possible to specify these options when creating a load balanced service?
spartakos 2017-08-07 18:31:09 i'm new to k8 and i just created a namespace and ran some pods on it. unfortunately i make a noob mistake and ran the pods referencing docker images that k8 couldn't pull. however when i delete the pods, they get restarted. what are the simple, no bs steps to nuke those pods so i can rerun them referencing the right docker images?
mswain 2017-08-07 18:33:27 if they are coming back they are probably part of a Deployment, ReplicaSet, or Replication Controller… you’ll need to delete those before your pods will go away if you don’t have anything else you want to save in the namespace, you can destroy the entire namespace and that’ll wipe out anything in it as well
spartakos 2017-08-07 18:34:37 thanks @mswain
zktech 2017-08-07 18:39:08 Ok I ripped my system back to a single node. I am on coreos, The apiserver is running the proxy is running. kube-dns is telling me it can't connect to https://10.3.0.1:443
spartakos 2017-08-07 18:39:10 deleting the deployment was exactly what i needed to to
zktech 2017-08-07 18:45:19 We looked at the dashboard container and it too is failing because it can't connect to https://10.3.0.1:443 We have the 10.3.0.1 address listed as the first address in our certificate, we listed the service-cluster-ip-range = 10.3.0.0/24 in the kube-apiserver.yaml file -- Do we have to bond the 10.3.0.1 to any interface? The kube-apiserver appears to be running on the public ip at port 443, but we can not find any way to get a response from the 10.3.0.1:443
mikkeloscar 2017-08-07 18:55:52 Anyone know if there is a difference between the hyperkube image distributed from coreos via quay.io/coreos/hyperkube and the 'official' image from gcr.io/google_containers/hyperkube-amd64 ?
jfpc 2017-08-07 18:56:23 I'm using an annotation on my deployment for various services, to tell prometheus to scrape the pods in those deployments:
kind: Deployment
so my question.. If I give a deployment some annotations, when kube creates an RS and a pod for that deployment, do those annotations trickle on down to the Pods? Or how do I pet this annotation for prometheus on the pod? regex: true action: keep - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
and then in the prometheus config: 
relabel_configs: prometheus.io/scrape : true annotations: name: foo-service metadata:
lmickh 2017-08-07 18:57:12 Any Azure users here having issues mounting Azure Disk PVCs after upgrading to 1.7?
drodio 2017-08-07 18:59:22 *Armory is looking for alpha testers:* We have an automated canary analysis tool called Barometer in alpha; looking for K8s users interested in testing it: http://go.Armory.io/Barometer Please DM me if you’d like to alpha test Barometer. Barometer integrates w/ Spinnaker. Here’s a post on how Spinnaker can help teams move workloads over to K8s: http://blog.armory.io/using-kubernetes-in-production-try-spinnaker/
nemesisesq 2017-08-07 19:01:16 How do I connect to a service via DNS

Related Questions