This tutorial goes through how to install openssl 1.1.1 on CentOS 7, since the yum repo only installs up to openssl 1.0.
Upgrade the system
yum -y update
version: '3' | |
services: | |
postgres: | |
container_name: container-postgresdb | |
image: postgres | |
hostname: postgres | |
ports: | |
- "6543:5432" | |
environment: | |
POSTGRES_USER: postgres |
Harvester leverages the Kubernetes service to provide the load balancer for the service in the Harvester virtual machines. The backend servers of the load balancer are the <VM IP>:<service port>
.
cw-harv:/home/rancher # kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default-nginx-lb-db9bdca5 LoadBalancer 10.43.113.238 80:32586/TCP 4h32m
#!/bin/sh | |
DateStamp=$(date +%d%m%y) | |
BackupDirectory="/data/configdb/backup" | |
mkdir -p $BackupDirectory | |
sslCAFile="/data/configdb/mongodb-ssl-cert.pem" | |
DATABASE='database' | |
USERNAME='user' |
stages: | |
- build | |
create_badge_svg: | |
stage: build | |
image: python:3.6.6 | |
tags: | |
- docker | |
script: | |
- echo "Python other dependencies installation" |
ๅฝๅ ไป Docker Hub ๆๅ้ๅๆๆถไผ้ๅฐๅฐ้พ๏ผๆญคๆถๅฏไปฅ้ ็ฝฎ้ๅๅ ้ๅจใ
Dockerized ๅฎ่ทต https://github.com/y0ngb1n/dockerized
ๅ่ Docker daemon ้ ็ฝฎไปฃ็
FROM python:3.7.2-alpine | |
RUN pip install --upgrade pip | |
RUN adduser -D worker | |
USER worker | |
WORKDIR /home/worker | |
COPY --chown=worker:worker requirements.txt requirements.txt | |
RUN pip install --user -r requirements.txt |
#!/bin/sh | |
# | |
# Print Pods which are Pending or not Ready for some reaosn | |
# | |
kubectl get pods --all-namespaces -o go-template='{{ range $item := .items }}{{ range .status.conditions }}{{ if (or (and (eq .type "PodScheduled") (eq .status "False")) (and (eq .type "Ready") (eq .status "False"))) }}{{ $item.metadata.name}} {{ end }}{{ end }}{{ end }}' |