This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
#!/usr/bin/env bash | |
################################################################################################ | |
# kubectl wrapper that generates a report concerning cluster state, ## | |
# which creates a dir with compiled information regarding: ## | |
# - control plane components status, cluster events, nodes description, and namespace events ## | |
################################################################################################ | |
# Get nodes, componentsstatuses, and pods for control-plane | |
echo -e "\e[0;32m Cluster Nodes: \e[0m \n $(kubectl get nodes -owide)" |
This document now exists on the official ASP.NET core docs page.
By default, K3S will run with flannel as the CNI and use custom directories to store CNI plugin binaries and config files(You can inspect the kubelet args K3S uses via journalctl -u k3s|grep cni-conf-dir
).
So you need to configure that properly When deploying Multus CNI.
For example given the official Multus manifests in https://github.com/intel/multus-cni/blob/36f2fd64e0965e639a0f1d17ab754f0130951aba/images/multus-daemonset.yml
, the following changes are needed:
volumes:
- name: cni
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-blue-whale | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: hello-whale-app |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-blue-whale | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: hello-whale-app |
<# | |
Create Unix VM's. | |
PREREQUISITES: | |
- A VM that has been installed with an OS that supports cloud-init | |
- cloud-init is installed on the vm | |
How it works: | |
- Asks for a bunch of parameters | |
- Creates a disk from parent vhdx for speed |
check for updates in mac OS
download and install xcode from appstore (includes basic git for later usage)
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
const path = require('path') | |
const fs = require('fs') | |
const execSync = require('child_process').execSync | |
if (!process.argv[2] || !process.argv[3]) { | |
throw new Error('you did not pass the source and destination paths') | |
} | |
const searchPath = path.join(process.cwd(), process.argv[2]) | |
const destination = path.join(process.cwd(), process.argv[3]) |