Skip to content

Instantly share code, notes, and snippets.

View DenysGonchar's full-sized avatar

Denys Gonchar DenysGonchar

View GitHub Profile
@DenysGonchar
DenysGonchar / dashboard.md
Last active January 29, 2024 14:03
docker kubernetes

delpoy dashboard using helm chart as described here:

helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard

then patch the deployment to add --enable-skip-login argument:

kubectl patch deployment kubernetes-dashboard -n kubernetes-dashboard --type 'json' -p '[{"op": "add", "path": "/spec/template/spec/containers/0/args/-", "value": "--enable-skip-login"}]'
@DenysGonchar
DenysGonchar / keybase.md
Last active July 25, 2019 14:32
Keybase proof

Keybase proof

I hereby claim:

  • I am denysgonchar on github.
  • I am denysgonchar (https://keybase.io/denysgonchar) on keybase.
  • I have a public key ASDKKsqSliJ9zlUX9B5-BHF7wHGX1FJKbwxTqflbR0a-Dwo

To claim this, I am signing this object:

FROM ubuntu:latest as intermediate
ADD https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb /tmp/
ADD https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc /tmp/
RUN dpkg -i /tmp/erlang-solutions_1.0_all.deb
RUN apt-key add /tmp/erlang_solutions.asc
RUN apt-get update
RUN apt-get -y install erlang
@DenysGonchar
DenysGonchar / example.erl
Last active April 12, 2018 12:29
azure service bus example
%% application:ensure_all_started(ssl),
%% amqp10_client_sup:start_link(),
Address = "address",
Hostname = <<"hostname">>,
Port = 5671,
User = <<"user">>,
Password = <<"password">>,
Queue = <<"queue_name">>,