Eugene
потому что у роли view нет пермишшена получать список namespace'ов. Нужно писать свою кластерную роль, раз нет дефолтной
тупо удалил под и все завелось ну и эти пермишены конечно же были, в строках с 49 по 56 - в том ямле что я кидал выше на пастебине. https://pastebin.com/riP6i76p
sbog
А расскажите, коллеги, вот что. Есть у меня два деплоймента, которые я деплою helm-ом. Они разворачивают два сервиса. Могу я в каждый деплоймент дописать по ингрессу так, чтобы эти ингрессы сервились одним и тем же ингресс контроллером и если да - зависит ли это как-то от самого контроллера? Я так понял, что достаточно для этого просто один и тот же ingress.class указать в ингрессе, но чот не могу найти, где определено такое поведение и унифицировано ли оно вообще.
Anton
да
Anton
ingress controller может множество ingress resource обслуживать
Anton
просто накидываешь ресурсов
sbog
Понял, спасибо. А если я захочу, скажем, два контроллера в кластере?
Dmytro
конечно, я так и делаю
Dmytro
у меня свой ингресс контроллер в каждом неймспейсе
sbog
Просто ingress.class разные?
Anton
Понял, спасибо. А если я захочу, скажем, два контроллера в кластере?
пжалуйста, заводите =) они могут отдельно за неймспейсами следить, быть задеплоеными на разные машины и тд
Dmytro
(там нужно флаг установить ему только)
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
MRY
Actually, I learning DEVOps, I have been asked to install minikube using puppet and configure ngnix run on docker
I didn't use puppet, I used only Ansible for prepare hosts and install kube. This guy @vadikgo gave good link for "Kubespray", this could be minimize your time for spin up K8s infrastructire.
Blue_Wolf
Yea, looking good... , thanks, Ansible looks and feels better than puppet...
MRY
I didn't use puppet, I used only Ansible for prepare hosts and install kube. This guy @vadikgo gave good link for "Kubespray", this could be minimize your time for spin up K8s infrastructire.
I think you could be install minikube/k8s everywhere, but you will have issues with this on baremetal/virtualization. For example I have some troubles with LB
MRY
Yea, looking good... , thanks, Ansible looks and feels better than puppet...
Pretty much. You need only python2.7 and ssh, and sometimes install extra modules on ansible host.
Anonymous
i think you all ned fedora project
Blue_Wolf
Has any advntages puppet over ansible at all ?
Anonymous
Почему ?
на ней заранее нет таких проблем
MRY
Has any advntages puppet over ansible at all ?
Idn, but ansible is native for redhat
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...
MRY
Thanks...
Where are you from ?
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
Israel
שלום חבר!
MRY
My grandmother know What is it mean.
Darkwing
That translate as "hello friend"
MRY
That translate as "hello friend"
Я нихрена не понимаю на иврите.
Darkwing
Я нихрена не понимаю на иврите.
Просто скажи "шалом хавер" и все будут рады)
MRY
)))
Blue_Wolf
I do understand bit of russian, but I cant read 😀
Blue_Wolf
Like, drastie, kak dila, harasho , spasiva...
Darkwing
Like, drastie, kak dila, harasho , spasiva...
Not "spasiva", use "spasibo"
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
Here are over 1200 people joined to discuss and read about Kubernetes
Thank you for information. Just, In Russia a lot of peaple is sleeping now, I think we not interrupt their or this channel.
MRY
Sorry
bama^boy
Кто-нибудь юзал eks в preview ?
я прочитал доки и передумал
MRY
я прочитал доки и передумал
Криво исполнено или попаболь с внедрением ?
bama^boy
там не поддерживаются команды kubectl exec, logs и еще что-то, kubectl надо качать кастомный
bama^boy
пока очень сырое, ami нужно специальный ставить
MRY
там не поддерживаются команды kubectl exec, logs и еще что-то, kubectl надо качать кастомный
Как обычно AWS дали обрезаный функционал. И так во многом
bama^boy
пусть пока другие с этим мучаются, я думаю, не стоит спешить))) фри, их амазон линукс есть заточенный
bama^boy
eks optimized :)
Khramov
Ребят, а в хелме можно сделать что-то подобное? {{- range $key, $val := .Values.env.{{ .Values.environment }} }}
Khramov
Чтобы не переопределять все переменные при запуске, а то их много
Anton
Чтобы не переопределять все переменные при запуске, а то их много
а какие нить варианты с with не подходят? короч нужно к golang template обратится https://golang.org/pkg/text/template/
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