Denis
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
did not forget?
Rui
hum gona check
Rui
but i'm try install again
Rui
reboot now
Denis
show me cat $HOME/.kube/config
Rui
hey hum
Rui
kubeadm init
Rui
and the ended ok
Rui
@denyasmail sended the cat $HOME/.kube/config
Anton
Aleksei
Rui
:)
Antony 🇫🇷
1929 members… угонишь тут 😄
Rui
noo... the certificates-data not ok :))
Rui
;)))
Rui
yap
Rui
i delete all private info no probs :))
Rui
thanks for adivce
Rui
$ kubectl get nodes
The connection to the server 1:6443 was refused - did you specify the right host or port?
Rui
i have the same :S
Stanislav
kubernetes on localhost?
Rui
host
Rui
remote host
Rui
sorry
Rui
kubectl cluster-info
Kubernetes master is running at https://10.:6443
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
The connection to the server 10.:6443 was refused - did you specify the right host or port?
Stanislav
cat .kube/config | grep server:
Rui
cat .kube/config | grep server:
server: https://10.:6443
Stanislav
server is really accessible by this name:10 ?
Rui
no no :)) i delete the ip address
Rui
only;)
Rui
paste to the channel without true ip
Stanislav
can you ssh to server and get netstat -lntp ?
Rui
netstat -lntp
(No info could be read for "-p": geteuid()=1001 but you should be root.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:44478 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:40867 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:38789 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:10248 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:20048 0.0.0.0:* LISTEN -
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 10.:10010 0.0.0.0:* LISTEN -
tcp6 0 0 :::443 :::* LISTEN -
tcp6 0 0 :::2049 :::* LISTEN -
tcp6 0 0 :::10250 :::* LISTEN -
tcp6 0 0 :::33550 :::* LISTEN -
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::80 :::* LISTEN -
tcp6 0 0 :::20048 :::* LISTEN -
tcp6 0 0 :::44310 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
Stanislav
443
Stanislav
not 6443
Rui
yap
Rui
but its the config
Rui
in kube/config
Stanislav
config on server and config on localhost may be different :-)
Rui
don't no how apapers that
Rui
how can i change that?
Stanislav
edit your local config and change 6443 to 443
Rui
i edit the .kube/config
Rui
gonna try :D
Дмитрий Харитонов
Какой лучше ingress использовать, от k8s или от nginx?
Дмитрий Харитонов
Кто сравнивал?
Stanislav
Мне от nginx inc не подошел - не умеет stream
Dmitrii
https://github.com/nginxinc/kubernetes-ingress/blob/master/docs/nginx-ingress-controllers.md тут сравнение есть btw
Дмитрий Харитонов
Понятно, спасибо
Antony 🇫🇷
Господа, существует-ли какое-нибудь gui web api для управления бекапами glusterfs ?
Andor
Ваще не оффтоп
Sergey
😅
Й
Rui
done that ;)
Alexey
Привет,
кто объяснит за helm, а точнее его работу с неймспейсами.
есть 2 впороса:
1. я когда смотрю темплейты с --namespace=ANYNAME, то в получившихся ямлах нет указания в каком неймспейсе деплоить. Или это нужно в теплейтах указать
namespace: {{ .Release.Namespace | default "default" }} ?
2. что будет делать хелм если неймспейса нету - он его создаст или упадёт с ошибкой?
Grigorii
2. он его создает
Denis
Alexey
спасибо, понял,
А helm template --namespace=myname mychart
почему в темплейтах не отображает неймспесов с конфигах?
Alexey
или нужно реально везде в темплейтах доавить
namespace: {{ .Release.Namespace | default "default" }}
Denis
Alexey
ну вот, если деплоить через kubectl create - указываешь обычно но yaml где описана конфигурация подов и сервисов. и чтоб всё задеплоилось в нужный неймспейс там есть параметр namespace:mynamespace
так вот - хелм позволяет скомпилировать эти йамлики, но в них не появляется указанного неймспейчас если в темплейте предварительно шаблон не допилишь
Дмитрий Харитонов
Дмитрий Харитонов
Через -n имя_нэймспейса. Я 8 думаю helm так же делает, нэймспейс в процессе добавляет.
Alexey
а, теперь понял, спасибо, а то уже начал шаблоны переделывать
Grigorii
Alexey
Где там было, что меня не устраивает. Я просто прежде чем деплоить хотел от дебажить свои чарт. И не знал нужно ли неймспейсы дописывать
Andrey
Всем привет, кто-нибудь юзает rancher+kubernetes. Оно того стоит?
Дмитрий Харитонов
Нет. Нет.
Andrey
Ребят, а кто за heapster может сказать? Как оно? нужная штука?
Richard
Andrey
а тебе для чего?
да я вот пока понять не могу, надо ли оно мне. Дашборд в логи ноет что найти не может эту штуку)
Richard
Andrey
Andrey
kubernetes-dashboard в логи сыплет:
2018/08/14 21:24:03 Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
Andrey
Вот я и пошел смотреть что за heapster. Нагуглил что это тула которая метрики поставляет в дашборд. Вот хотел бы узнать, как оно вообще, полезная штука или нафиг не надо.
Andrey
@nn130001
Richard