Thursday, August 06, 2020 in Kubernetes
My use case is to deploy a wildcard certificate that was previously handled by an acme.sh on my legacy lxd containers. Since moving to kubernetes parts of my services I have been using cert-manager to issue letsencrypt certificates. Since I am not …
Thursday, June 25, 2020 in Kubernetes
Dumping Assuming we are working with a postgresql statefulset, our namespace is named miniflux and our master pod is named db-postgresql-0, trying to dump a database named miniflux: export POSTGRES_PASSWORD=$(kubectl get secret --namespace miniflux …
Tuesday, May 19, 2020 in Miscellaneous
http://overpass-turbo.eu/ <osm-script> <query type="node"> <has-kv k="amenity" v="recycling"/> <bbox-query {{bbox}}/> </query> <!-- print results --> <print mode="body"/> …
Thursday, January 23, 2020 in Miscellaneous
i3dropdown is a tool to make any X application drop down from the top of the screen, in the famous quake console style back in the day. Compilation First of all, you have get i3dropdown and compile it. It does not have any dependencies so it is …
Thursday, December 19, 2019 in Miscellaneous
This is the website you are currently reading. It is a static website built using hugo. This article details how I installed hugo, how I initialised this website and how I manage it. I often refer to it as wiki.adyxax.org because I hosted a unique …
Tuesday, October 15, 2019 in Ansible
Here is the task to use in order to achieve that : - name:Dumpallvarsaction:templatesrc=dumpall.j2dest=ansible.all And here is the template to use with it : Module Variables ("vars"): -------------------------------- {{ vars | to_nice_json …
Tuesday, August 06, 2019 in Miscellaneous
Docker simple install : docker run --name db -d mongo --smallfiles --replSet hurricane docker exec -ti db mongo > rs.initiate() docker run -p 3000:3000 --name rocketchat --env ROOT_URL=http://hurricane --env …
Tuesday, July 09, 2019 in Miscellaneous
vi /etc/sysconfig/network-scripts/ifcfg-eth0 vi /etc/resolv.conf curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo curl -o /etc/yum.repos.d/mssql-prod.repo …