Install argocd CLI and add users

Install ArgoCD Attention la compatibilité de la version argo cd et Kub. A voir dans la page officiel en bas : l’installation est sur le site: : kubectl create namespace argocd kubectl apply -n argocd -f kubectl…

Create Registry Credential for GitLabCI

Create Secret Get information : username : the name of your deploy token password : the value of token email: your email auth : base 64 username:password you can generate auth with this command echo "patoken:npAdzEy79ybtQdfdf" | base64 Result :…

Boîte à outil K8S

get all resources in a cluster kubectl get all -A Sort cpu or memory of pods or nodes(Find the pod who consumm more than others) install server metrics wget add those line into file yaml command: – /metrics-server -…

Angular Binding

Interpolation le contrôleur import { Component } from '@angular/core'; import { FormGroup, FormControl } from '@angular/forms'; @Component({ selector: 'app-profile-editor', templateUrl: './profile-editor.component.html', styleUrls: ['./profile-editor.component.css'] }) export class AppComponent { private who: string = "there" } la vue <h2>data binding interpolation</h2> <label>…

Angular

Universal Benefits Standards compliance Latest ECMAScript Modules Internationalization and accessibility Performance Open source TypeScript Backed by Google Uniformity (devs can develop quicker anc cheaper) Entreprise-First Popularity Documentation Subjective Benefits Framework (Router, HTTP, forms, RxJS, etc) Opinionated – fewer decision RxJS…

Install Node and Angular project

Install NPM and Nodejs First method (traditional) Create an Angular project need to install npm( nodejs) and angular cli Get binnary nodeJs’s file to install nodejs and npm URL : If you are in Windows environment, just click and…

Install cert-manager and TLS certificate

Install Cert-Manager for details : Install cert manager kubectl apply -f Install issuer Let’s encrypt give you two environment, staging and production. Create a ClusterIssuer rather than Issuer because the Issuer have namespace scope only into staging environnement.…

Connexion SSH à distance

Connexion SSH à distance Afin de se connecter à un serveur distant sans saisir le mot de passe sous Linux Générez les clés privée et publique avec la commande ci-dessous. Deux fichiers id_rsa.pub et id_rsa seront générés dans ~/.ssh ssh-keygen…