Create a file named uuidgen.go
.
package main
import (
"fmt"
"log"
"os/exec"
Workflow Format-CoreOSDisk{ | |
PARAM( | |
[parameter(mandatory=$true,position=0)] | |
[string[]] | |
$ComputerName, | |
[parameter(mandatory=$false,position=1)] | |
[hashtable] | |
$HardDrive, #@{'/dev/sdb'='xfs@/mnt/data1';'/dev/sdc'='btrfs@/mnt/data2'} | |
This guide relies on the osd-directory method of described in ceph-docker documentation, which assumes that osd dedicated disk is already formatted an mounted in '/home/core/data/ceph/osd'.
Ceph docker relies on jinja2 for template to generate yaml templates to be deployed in kubernetes
Install Python 2.7, then run the following command lines to install jinja2-cli
.
Open an Putty/SSH session as to the host dedicated to run portainer root
user, then execute the following command line.
This required requires access to
docker.sock
docker run -d --privileged -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer-data:/data --name 'portainer' --restart on-failure portainer/portainer
#!/usr/bin/env bash | |
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
git fetch --all | |
git pull --all |
Ce guide est une transposition du billet de Nicholas PNG publié le 29 Mars 2018 sur le blog h2o.ai dans la solution coreos-kubernetes
https://blog.h2o.ai/2018/03/h2o-kubeflow-kubernetes-how-to/
Attention: Ksonnet est instable sur Git-Bash pour Windows. Il est recommandé d'exécuter les étapes de ce guide dans WSL (Windows Subsystem for Linux).
https://stackoverflow.com/questions/48993286/is-it-possible-to-route-traffic-to-a-specific-pod?rq=1
You can guarantee session affinity with services, but not as you are describing. So, your customers 1-1000 won't use pod-1, but they will use all the pods (as a service makes a simple load balancing), but each customer, when gets back to hit your service, will be redirected to the same pod.
Note: always within time specified in (default 10800):
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: gitlab | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: | |
name: gitlab-runner | |
namespace: gitlab |