title | author | date | cover |
---|---|---|---|
Kubernetes : Prometheus + Grafana |
mikamboo |
2020-04-24 23:43 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cron docker image with : | |
# - Supercronic to run crontab file (https://github.com/aptible/supercronic) | |
# - AWS cli to send content to s3 | |
# - Timezone setup | |
# - Service user uid 1001 | |
FROM python:3.8-alpine | |
LABEL africa.encuisine.maintainer="mikamboo" \ | |
africa.encuisine.version="0.1.0" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.10 | |
ENV K8S_RELEASE_BASE_URL=https://storage.googleapis.com/kubernetes-release/release | |
ENV K8S_STABLE_VERSION=https://storage.googleapis.com/kubernetes-release/release/stable.txt | |
ENV HELM_VERSION=v3.1.2 | |
RUN apk add --update --no-cache curl gettext libintl | |
RUN curl -LO ${K8S_RELEASE_BASE_URL}/$(curl -s $K8S_STABLE_VERSION)/bin/linux/amd64/kubectl && \ | |
chmod +x ./kubectl && mv ./kubectl /usr/local/bin/kubectl && \ |
title | date | author | cover |
---|---|---|---|
Kubernetes : Gitlab cluster-admin ServiceAccount |
2020-03-01 |
mikamboo |
Gitlab k8s integration require to use a kube-system
namespace service account with cluster-admin privileges.
title | date | author | cover |
---|---|---|---|
Kubernetes : Cluster init with nginx-ingress + cert-manager |
2020-04-04 |
mikamboo |
A Quick K8S snippet tutorial to install nginx-ingress controller and cert-manager on a new cluster.
WARNING : This installation method will create a Loadbancer, dont forget to delete it on cloud dashboard if necessaray for a complete cleanup.
title | author | date | slug | cover |
---|---|---|---|---|
Quick az cli with docker |
mikamboo |
2020-04-02 23:43 |
post-about-lorem-ipsum |
To achieve this goal we have to :
- Create PVC clone (two methods : k8s clone feature or snapshot + restore)
- Set reclaim policy for the cloned PV to
Retain
! - Delete PVC clone (and snapshot if necessary)
- Realease the clone PV (set
claimRef
to null) - Create the new namespace
- Create a new PVC that meets realesed PV specification (size, matchLabels ...)