4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • Job Application for Full Stack Engineer (Growth) at DataCamp

    Should have a clear understanding of standard web development processes and best practices
    Is a strong communicator who can explain technical concepts in an understandable manner
    Is comfortable rapidly writing throwaway code that gets the job done -- even if it’s not well-optimized, well-tested, or well-architected
    Cares more about the business impact of the work than the elegance of the technical solution
    Must be detail-oriented, self-organized and capable of tracking multiple tasks simultaneously

    Lol

    March 15, 2019 - permalink - https://boards.greenhouse.io/datacamp/jobs/1482036
    lol
  • Learn Kubernetes using Interactive Browser-Based Labs | Katacoda
    March 14, 2019 - permalink - https://www.katacoda.com/courses/kubernetes
    k8s tutorial
  • kelseyhightower/kubernetes-the-hard-way: Bootstrap Kubernetes the hard way on Google Cloud Platform. No scripts.
    March 14, 2019 - permalink - https://github.com/kelseyhightower/kubernetes-the-hard-way
    hard k8s tutorial
  • Yelp/elastalert: Easy & Flexible Alerting With ElasticSearch

    une alternative free

    March 11, 2019 - permalink - https://github.com/Yelp/elastalert
    alert elasticsearch
  • Using Helm without Tiller - Giant Swarm

    Pour obtenir les yaml sans installer un helm chart :

    helm template \
    --values ./values/prometheus.yaml \
    --output-dir ./manifests \
    ./charts/prometheus

    March 11, 2019 - permalink - https://blog.giantswarm.io/what-you-yaml-is-what-you-get/
    helm k8s
  • awesome-kubernetes/README.md at master · ramitsurana/awesome-kubernetes · GitHub

    Via arnaudb

    March 10, 2019 - permalink - https://github.com/ramitsurana/awesome-kubernetes/blob/master/README.md#monitoring
    k8s resources
  • Kubernetes-Certified-Administrator/README.md at master · walidshaari/Kubernetes-Certified-Administrator · GitHub

    Via arnaudb

    March 10, 2019 - permalink - https://github.com/walidshaari/Kubernetes-Certified-Administrator/blob/master/README.md
    k8s resources
  • kube-eagle/README.md at master · google-cloud-tools/kube-eagle · GitHub

    Via arnaudb

    March 10, 2019 - permalink - https://github.com/google-cloud-tools/kube-eagle/blob/master/README.md
    exporter k8s prometheus
  • Can anyone talk about the positives/negatives of Operators v/s Helm Charts? Fro... | Hacker News
    March 10, 2019 - permalink - https://news.ycombinator.com/item?id=16969495
    helm k8s operator
  • coreos/prometheus-operator: Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes

    Prometheus Operator vs. kube-prometheus

    The Prometheus Operator makes the Prometheus configuration Kubernetes native and manages and operates Prometheus and Alertmanager clusters. It is a piece of the puzzle regarding full end-to-end monitoring.

    kube-prometheus combines the Prometheus Operator with a collection of manifests to help getting started with monitoring Kubernetes itself and applications running on top of it.

    https://github.com/coreos/prometheus-operator/tree/master/contrib/kube-prometheus

    March 9, 2019 - permalink - https://github.com/coreos/prometheus-operator
    k8s prometheus
  • bash - watch command alias expansion - Unix & Linux Stack Exchange
    March 8, 2019 - permalink - https://unix.stackexchange.com/questions/25327/watch-command-alias-expansion
    alias watch
  • Controlling nginx

    Pour un graceful shutdown de nginx, il faut un SIGQUIT
    Kubernetes envoie du SIGTERM alors on peut utiliser un preStop script pour être + cool
    https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/#define-poststart-and-prestop-handlers

    On peut aussi utiliser le preStop pour s'assuret que le container nginx sidecar s'arrête bien avant l'autre container en posant un lock dans un shared volume. Le preStop de l'autre container va attendre que le lock soit supprimé pour se couper. Le preStop du nginx va supprimer le lock quand il a bien terminé.

    On crée le lock dans un postStart

    via Meetup k8s bbc speaker

    March 8, 2019 - permalink - http://nginx.org/en/docs/control.html
    k8s nginx poststart prestop sidecar
  • A Read Only Kubernetes Dashboard | blog.cowger.us

    read-only

    March 8, 2019 - permalink - http://blog.cowger.us/2018/07/03/a-read-only-kubernetes-dashboard.html
    dashboard k8s readonly
  • Kubernetes Event Notifications to a Slack Channel- Part V
    March 7, 2019 - permalink - https://blog.powerupcloud.com/kubernetes-event-notifications-to-a-slack-channel-part-v-a9634b39db8f
    events k8s slack
  • Note: EKS worker nodes endpoint for prometheus

    tcp6 0 0 :::61678 :::* LISTEN 0 81586 32466/aws-k8s-agent

    Tous les nodes exposent ça, c'est cool, ils auraient pu en parler dans la doc ;)

    curl localhost:61678/metrics

    March 7, 2019 - permalink - https://links.infomee.fr/shaare/WwXrCQ
    eks k8s metric metrics prometheus
  • kubernetes-incubator/external-dns: Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services

    marche bien, j'ai quand même créé une nouvelle zone et donné les droits dans le role IAM seulement sur celle-ci pour ne pas tout mélanger
    Il faut désactiver le upsert only sinon les entrées DNS ne sont pas supprimées quand le service est supprimé et quand on le recrée, il n'arrive pas à update

    March 6, 2019 - permalink - https://github.com/kubernetes-incubator/external-dns
    dns k8s
  • Kubernetes/kubectl Ignores Annotation Changes | 8bitzen

    ça m'est arrivé, bien galère..

    Il faut ajouter des quotes aux value des annotations pour qu'elles soient prise en compte lors d'un apply

    March 6, 2019 - permalink - https://blog.8bitzen.com/05-07-2018-k8s-kubecl-ignores-annotation-changes/
    annotations k8s
  • Note: Kubernetes rollout history

    Quand on modifie un deployment avec un kubectl apply -f chemin/vers/fichier.yaml
    Le rollout history n'est pas complété, aucune révision n'est créée
    Il faut ajouter un --record à la commande précédente ce qui va créer une révision avec un "change cause" qui va reprendre la commande :

    REVISION CHANGE-CAUSE
    10 kubectl apply --filename=k8s/preprod/ --record=true

    Pas mal mais on peut faire mieux en ayant par exemple le hash du commit (ou le numéro du build..) dans ce "change cause"
    Pour ça, dans la CI/CD, on peut renommer par exemple le dossier avant de lancer le kubectl apply -f, ce qui donnera :
    REVISION CHANGE-CAUSE
    11 kubectl apply --filename=k8s/preprod-a5bcec9 --record=true

    Et comme ça on a un rollout history bien propre pour s'y retrouver ;)

    March 6, 2019 - permalink - https://links.infomee.fr/shaare/7sdJlA
    k8s rollback rollout
  • jtblin/kube2iam: kube2iam provides different AWS IAM roles for pods running on Kubernetes
    March 6, 2019 - permalink - https://github.com/jtblin/kube2iam
    eks iam k8s policy role
  • Define a Command and Arguments for a Container - Kubernetes

    dans un Dockerfile : ENTRYPOINT + CMD
    chez k8s : command + args

    March 5, 2019 - permalink - https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#define-a-command-and-arguments-when-you-create-a-pod
    cmd command docker entrypoint k8s
  • Git: Find the most recent common ancestor of two branches - Stack Overflow

    git merge-base branch2 branch3
    050dc022f3a65bdc78d97e2b1ac9b595a924c3f2

    git merge-base HEAD origin/master

    March 4, 2019 - permalink - https://stackoverflow.com/questions/1549146/git-find-the-most-recent-common-ancestor-of-two-branches
    ancestor branch git
  • Using Environment Variables - CircleCI
    March 3, 2019 - permalink - https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
    circleci
  • Running Docker Commands - CircleCI
    March 3, 2019 - permalink - https://circleci.com/docs/2.0/building-docker-images/
    circleci
  • Kubernetes NodePort vs LoadBalancer vs Ingress? When should I use what?
    March 3, 2019 - permalink - https://medium.com/google-cloud/kubernetes-nodeport-vs-loadbalancer-vs-ingress-when-should-i-use-what-922f010849e0
    k8s service services
  • A Deep Dive into Kubernetes Metrics – FreshTracks.io
    March 3, 2019 - permalink - https://blog.freshtracks.io/a-deep-dive-into-kubernetes-metrics-b190cc97f0f6
    k8s metrics
  • Liste des quartiers administratifs de Paris — Wikipédia
    March 3, 2019 - permalink - https://fr.m.wikipedia.org/wiki/Liste_des_quartiers_administratifs_de_Paris
    map paris
  • Introduction to environments and deployments | GitLab

    Je cherchais à déployer le même build sur un env de preprod et ensuite sur la prod si le build est ok
    Ce qui se fait très bien "à l'ancienne" avec Jenkins/Bamboo :
    - on a une étape de build qui va créé un artifact
    - et une étape de deploy completement indépendante qui permet de déployer un artifact qu'on choisit sur un env en particulier

    Je ne retrouvais pas cette logique dans les outils plus récents car le deploy est toujours lié au build donc je ne voyais pas comment faire..
    La clé est dans la possibilité de pouvoir arrêter un job, de le mettre en pause pour pouvoir le déclencher plus tard si on le souhaite
    Donc pour un commit push sur un master, le workflow va se déclencher...
    - tests, builds...
    - deploy sur preprod
    - deploy sur prod en HOLD

    Si on voit que tout est ok sur preprod, on peut venir resume le deploy prod ! on va utiliser le même build qu'on a testé sur la preprod

    C'est le même principe, on veut check la preprod avant de déployer la prod en utilisant le même build, mais implémenté différement

    L'équivalent chez circleci :
    https://circleci.com/blog/manual-job-approval-and-scheduled-workflow-runs/
    https://circleci.com/docs/2.0/workflows/#holding-a-workflow-for-a-manual-approval

    Et chez Jenkins (récent) :
    https://jenkins.io/doc/pipeline/tour/deployment/#asking-for-human-input-to-proceed

    February 27, 2019 - permalink - https://docs.gitlab.com/ee/ci/environments.html#manually-deploying-to-environments
    cicd docker
  • Should I use Logstash or Elasticsearch ingest nodes? | Elastic

    Dans la plupart des cas, on peut maintenant oublier logstash et utiliser les ingest node (pipeline) d'elasticsearch

    EFK (Elasticsearch, Filebeat, Kibana)

    February 26, 2019 - permalink - https://www.elastic.co/blog/should-i-use-logstash-or-elasticsearch-ingest-nodes
    elasticsearch es
  • Note: EKS max pods by EC2

    Le nombre de pods par worker node dépend du type d'EC2 utilisé qui détermine combien d'interfaces secondaires on a à notre disposition et de combien d'ips sur chaque interfaces on peut allouer.

    Exemple avec une t2.small, on a 2 interfaces secondaires et sur chacune on peut allouer 4 ips. On peut donc lancer 8 pods maximum sur une t2.small

    Il faut aussi savoir qu'un cluster EKS va faire tourner de base quelques pods :
    - un deployment pour coredns avec un replicaset=2 par défaut
    - un daemonset spécifique à aws (awsnode)
    - un daemonset pour le kubeproxy

    Ce qui équivaut à 2 pods occupés sur chaque worker node (à cause des deux daemonset) et 2 pod supplémentaire lancé sur la totalité du cluster (pour coredns).

    Il faut aussi compter un pod pour le dashboard, un pod pour le metrics-server et surement 2 pods pour l'external-dns, sans compter les ingress

    Tout ça pour dire que ce n'est pas facile d'avoir un "petit" cluster EKS : on va vite être limité par le nombre d'ip qui est assez faible sur les EC2 les plus modestes et on va vite être obligé de lancer des EC2 supplémentaire juste pour avoir des ip

    February 24, 2019 - permalink - https://links.infomee.fr/shaare/j-DVoQ
    aws eks k8s
  • APIServer dry-run and kubectl diff - Kubernetes

    Too bad dry run and diff only available on 1.13
    EKS is 1.11 only atm ;-(

    February 13, 2019 - permalink - https://kubernetes.io/blog/2019/01/14/apiserver-dry-run-and-kubectl-diff/
    eks k8s
  • Performance tuning for volume mounts (shared filesystems) | Docker Documentation

    tweak volume pour perf docker sous mac

    February 12, 2019 - permalink - https://docs.docker.com/docker-for-mac/osxfs-caching/
    docker mac volume
  • Services - Kubernetes

    How to configure LoadBalancer (ELB) populated by k8s in aws (eks)

    February 9, 2019 - permalink - https://kubernetes.io/docs/concepts/services-networking/service/#elb-access-logs-on-aws
    elb k8s log
  • Quickly Show/Hide Hidden Files on macOS Sierra, OS X El Capitan & Yosemite | Ian Lunn - Front-end Developer

    The Quickest Way to Show/Hide Hidden Files

    Since the release of macOS Sierra, when in Finder, it is now possible to use the shortcut:

    CMD + SHIFT + .

    February 9, 2019 - permalink - https://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
    files hidden mac
  • Secrets - Kubernetes

    How to use secret via env var

    February 9, 2019 - permalink - https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-environment-variables
    env k8s secret
  • k9s/README.md at master · derailed/k9s · GitHub

    via arnaudb

    February 4, 2019 - permalink - https://github.com/derailed/k9s/blob/master/README.md
    k8s tool
  • Note: gnu sed on macos

    brew install gnu-sed
    PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"

    feel better

    January 29, 2019 - permalink - https://links.infomee.fr/shaare/HZ6B4w
    mac sed
  • 90 days of AWS EKS in Production - kubedex.com

    Un retour d'xp sur EKS

    January 29, 2019 - permalink - https://kubedex.com/90-days-of-aws-eks-in-production/
    eks k8s
  • Kubernetes API Reference Docs
    January 27, 2019 - permalink - https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#-strong-api-overview-strong-
    doc k8s object
  • Kubectl Reference Docs
    January 27, 2019 - permalink - https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-strong-getting-started-strong-
    doc k8s kubectl
  • GitHub - ahmetb/kubectx: Switch faster between clusters and namespaces in kubectl

    via Doo

    January 17, 2019 - permalink - https://github.com/ahmetb/kubectx
    ctx env k8s tools
  • Secrets Management within AWS ECS – Hacker Noon

    olded by https://docs.aws.amazon.com/fr_fr/AmazonECS/latest/developerguide/specifying-sensitive-data.html

    January 17, 2019 - permalink - https://hackernoon.com/secrets-management-within-aws-ecs-1b6975819ccd
    aws docker ecs secret ssm
  • Online Cloud, Linux, DevOps & Certification Training | Linux Academy
    January 16, 2019 - permalink - https://linuxacademy.com/
    certification cours formation
  • Helm - The Kubernetes Package Manager
    January 11, 2019 - permalink - https://helm.sh/
    bundle docker k8s package
  • CNAB: Cloud Native Application Bundles
    January 11, 2019 - permalink - https://cnab.io/
    bundle docker package
  • Kubernetes Object Management - Kubernetes
    January 11, 2019 - permalink - https://kubernetes.io/docs/concepts/overview/object-management-kubectl/overview/
    configuration k8s
  • uBar - The Dock replacement for the Mac
    January 7, 2019 - permalink - https://brawersoftware.com/products/ubar
    dock mac
  • Robin Hobb : une chronologie animée du Royaume des Anciens !
    December 26, 2018 - permalink - http://lisonsjeunesse.fr/roman/roman-young-adult/2498_chronologie-robin-hobb
    assassin livre royal
  • GitHub - just-containers/s6-overlay: s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
    December 24, 2018 - permalink - https://github.com/just-containers/s6-overlay
    docker init pid1
  • Traefik

    /me découvre

    via itweb

    December 18, 2018 - permalink - https://docs.traefik.io/
    docker proxy reverse
  • crunchyroll/evs-s3helper: CXOPS-792 This will be deployed on the vod service alongside nginx to manage instance credentials.

    via Philippe

    December 13, 2018 - permalink - https://github.com/crunchyroll/evs-s3helper
    go s3
▼ Load 50 more