Thanks. It works. But how do I found out the valid name for my influxDB??

I just discovered --sink=influxdb:http//*influxdb*:8086 is not valid...


On Monday, August 6, 2018 at 12:48:32 PM UTC-4, Daniel Smith wrote:
>
> If you use the standard kube-dns add-on, you can refer to apiserver as 
> 'kubernetes.default.svc.cluster.local.' The port is 443.
>
> You could also use the ClusterIP of the service directly, as it is 
> predictably going to be the first IP in the Service IP range, unless you've 
> done some manual surgery to your backend storage :) 
>
> But I would use the name.
>
> On Sun, Aug 5, 2018 at 5:27 PM Stephen Kong <zolle...@gmail.com 
> <javascript:>> wrote:
>
>> In my heapster.yaml, it references the IP of the master cluster host (
>> https://142.141.33.10:6443). Is there any *built-in name* I could use 
>> for referencing the master host IP? I don't want to hard-coded any static 
>> IP's...
>>
>> spec:
>>       serviceAccountName: heapster
>>       containers:
>>       - name: heapster
>>         image: k8s.gcr.io/heapster-amd64:v1.5.3
>>         imagePullPolicy: IfNotPresent
>>         command:
>>         - /heapster
>>         - --source=kubernetes:https://142.141.33.10:6443  
>>         - --sink=influxdb:http://influxdb:8086
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Kubernetes user discussion and Q&A" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to kubernetes-use...@googlegroups.com <javascript:>.
>> To post to this group, send email to kubernet...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/kubernetes-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to