admin

admin

Connection to DockerHub repository

Create secret kubectl create secret docker-registry regcred –docker-server= –docker-username=<your-name> –docker-password=<your-pword> –docker-email=<your-email> transfor to yaml format kubectl get secret regcred –output=yaml Create secret file Yml with output information apiVersion: v1 kind: Secret metadata: name: registryfront-credentials namespace: ael-0001-payroll-uat type: kubernetes.io/dockerconfigjson data: .dockerconfigjson:…

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.…