You will need valid accounts for the following systems:
During the training we will use the following tooling:
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: hostaliases-pod | |
| spec: | |
| restartPolicy: Never | |
| hostAliases: | |
| - ip: "127.0.0.1" | |
| hostnames: | |
| - "foo.local" |
| # SSH into the node where the failing VMs are running and run these commands: | |
| pvecm updatecerts --force | |
| systemctl restart pvedaemon.service | |
| systemctl restart pveproxy.service |
| # syntax = docker/dockerfile:1.4 | |
| FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9-slim AS builder | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN --mount=type=cache,target=/root/.cache/pip \ | |
| pip install -r requirements.txt |
| { | |
| "extd": { | |
| "scope": "makefile,make", | |
| "prefix": "extd", | |
| "body": [ | |
| "debug: # Show Chrome-dev tools", | |
| " docker extension dev debug $(IMAGE):$(TAG)", | |
| "debug-reset: # Reset Chrome-dev tools", | |
| " docker extension dev reset $(IMAGE):$(TAG)", | |
| "debug-ui: # Set UI hot reload", |
| curl --data-binary "@mychart-0.1.0.tgz" http://localhost:8080/api/charts |
| import signal | |
| import time | |
| class GracefulKiller: | |
| kill_now = False | |
| def __init__(self): | |
| signal.signal(signal.SIGINT, self.exit_gracefully) | |
| signal.signal(signal.SIGTERM, self.exit_gracefully) | |
| def exit_gracefully(self,signum, frame): |
| html, body { | |
| margin: 0px; | |
| } | |
| h1{ | |
| background-color: #3a5e84; | |
| color: white; | |
| padding: 10; | |
| margin-bottom: 20px; | |
| } |
| from flask import Flask, jsonify, request | |
| from flask_cors import CORS | |
| app = Flask(__name__) | |
| CORS(app) | |
| @app.route('/ip', methods=["GET"]) | |
| def ip(): |
You will need valid accounts for the following systems:
During the training we will use the following tooling:
| # Source: https://help.ubuntu.com/community/RenameUSBDrive | |
| sudo apt-get install ntfsprogs | |
| sudo fdisk -l | |
| sudo umount /dev/sda1 | |
| sudo ntfslabel /dev/sda1 usb_ext_6t | |
| mount /dev/sda1 /media/usb/usb_ext_6t |