Eugene
sbog
А расскажите, коллеги, вот что. Есть у меня два деплоймента, которые я деплою helm-ом. Они разворачивают два сервиса. Могу я в каждый деплоймент дописать по ингрессу так, чтобы эти ингрессы сервились одним и тем же ингресс контроллером и если да - зависит ли это как-то от самого контроллера? Я так понял, что достаточно для этого просто один и тот же ingress.class указать в ингрессе, но чот не могу найти, где определено такое поведение и унифицировано ли оно вообще.
Anton
да
Anton
ingress controller может множество ingress resource обслуживать
Anton
просто накидываешь ресурсов
sbog
Понял, спасибо. А если я захочу, скажем, два контроллера в кластере?
Dmytro
конечно, я так и делаю
Dmytro
у меня свой ингресс контроллер в каждом неймспейсе
sbog
Просто ingress.class разные?
Dmytro
(там нужно флаг установить ему только)
Anton
Anonymous
Кто-нибудь юзал eks в preview ?
Blue_Wolf
Hey, is it posible to install minikube on a vm machine that hosted on esxi ?
Vlad
Try to install with kubespray and local inventory: https://github.com/kubernetes-incubator/kubespray/blob/master/inventory/local/hosts.ini
MRY
Hey, is it posible to install minikube on a vm machine that hosted on esxi ?
Yes. My installation has 3master vms and 3 worker vms (Underline ESXi 6.5). But you will have a lot of issues with LB, will be better if you will install k8s on cloud infrastructure like AWS or OStack. Like another way you could use OpenShift, this product is fittable for BareMatel and VM installation.
Blue_Wolf
Actually, I learning DEVOps, I have been asked to install minikube using puppet and configure ngnix run on docker
Blue_Wolf
Blue_Wolf
Yea, looking good... , thanks, Ansible looks and feels better than puppet...
MRY
Anonymous
i think you all ned fedora project
MRY
Blue_Wolf
Has any advntages puppet over ansible at all ?
Anonymous
Почему ?
на ней заранее нет таких проблем
MRY
Anonymous
MRY
Anonymous
Каких ?
с кубирнетесом каких ещё 😕
Даня
Anonymous
😐 90% менеджеров в россии себя видят так
MRY
Has any advntages puppet over ansible at all ?
You should be try this book, if you have amazon prime , you will get this book after 2 days https://www.amazon.com/Ansible-DevOps-Server-configuration-management/dp/098639341X/ref=sr_1_1?ie=UTF8&qid=1522955146&sr=8-1&keywords=ansible+for+devops
I bought this book, very cheap and sweet
Blue_Wolf
Thanks...
Blue_Wolf
Israel
MRY
So far
Blue_Wolf
No so much 😉
MRY
6 thousand miles
Blue_Wolf
4 hours flight...
MRY
from where ?
Blue_Wolf
Tel aviv to moscow
MRY
I'm from Tampa
MRY
Fl
Blue_Wolf
Oh
Blue_Wolf
So yea, "so far" lol..
Darkwing
MRY
My grandmother know What is it mean.
Darkwing
That translate as "hello friend"
Blue_Wolf
MRY
MRY
)))
Blue_Wolf
I do understand bit of russian, but I cant read 😀
Blue_Wolf
Like, drastie, kak dila, harasho , spasiva...
Anonymous
Blue_Wolf
And more intresting that I born in Argentina
G72K
Here are over 1200 people joined to discuss and read about Kubernetes
Blue_Wolf
Sorry,
MRY
Sorry
bama^boy
bama^boy
там не поддерживаются команды kubectl exec, logs и еще что-то, kubectl надо качать кастомный
bama^boy
пока очень сырое, ami нужно специальный ставить
MRY
MRY
bama^boy
пусть пока другие с этим мучаются, я думаю, не стоит спешить)))
фри, их амазон линукс есть заточенный
bama^boy
eks optimized :)
Khramov
Ребят, а в хелме можно сделать что-то подобное?
{{- range $key, $val := .Values.env.{{ .Values.environment }} }}
Khramov
Чтобы не переопределять все переменные при запуске, а то их много
Anton
Ivan
Khramov
а какие нить варианты с with не подходят?
короч нужно к golang template обратится https://golang.org/pkg/text/template/
Ну я пока сделал так:
{{- define "env" -}}
{{ if eq .Values.environment "develop" }}
{{- range $key, $val := .Values.env.develop }}
name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
{{ else if eq .Values.environment "production" }}
{{- range $key, $val := .Values.env.production }}
name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
{{ else if eq .Values.environment "staging" }}
{{- range $key, $val := .Values.env.staging }}
name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
{{ end }}
{{- end -}}
Khramov
И в итоге вызываю просто {{ template "env" . }}
Anton
чет пздц какой то
Khramov
А то :D