microk8s enable miniowill install minio and create a tenant for you.
| if (!$args[0]) { | |
| write-error "taskName is require as the first argument" | |
| exit -1; | |
| } | |
| if (!$args[1]) { | |
| write-error "schedCommand is require as the second argument" | |
| exit -1; | |
| } | |
| $taskName=$args[0] | |
| $schedCommand=$args[1] |
K3s - Lightweight Kubernetes
k8s is 10-char-word but k3s is 5-char-word which is half.
Kubernetes cluster for single machine
https://github.com/canonical/microk8s
Great tutorial
| // dependencies | |
| var async = require('async'); | |
| var AWS = require('aws-sdk'); | |
| // Enable ImageMagick integration. | |
| var gm = require('gm').subClass({ imageMagick: true }); | |
| var util = require('util'); | |
| var pdf2png = require('pdf2png'); | |
| pdf2png.ghostscriptPath = "/usr/bin"; | |
| // constants |
| option_settings: | |
| - option_name: PORT | |
| value: 8081 | |
| files: | |
| "/home/ec2-user/addswap" : | |
| mode: "000744" | |
| owner: root |
| // dependencies | |
| var async = require('async'); | |
| var AWS = require('aws-sdk'); | |
| // Enable ImageMagick integration. | |
| var gm = require('gm').subClass({ imageMagick: true }); | |
| var util = require('util'); | |
| var pdf2png = require('pdf2png'); | |
| pdf2png.ghostscriptPath = "/usr/bin"; | |
| // constants |
| { | |
| "AWSTemplateFormatVersion": "2016-09-06", | |
| "Description": "(000F) Deploy MongoDB on AWS (Existing VPC)", | |
| "Parameters": { | |
| "ClusterReplicaSetCount": { | |
| "Description": "Number of Replica Set Members. Choose 1 or 3", | |
| "Type": "String", | |
| "Default": "3", | |
| "AllowedValues": [ | |
| "1", |