- Kubernetes allows you to use your existing Docker configurations and workloads, but tackle complexity issues at scale.
- Take applications create containers
- Push to a registry and push
- Spin up containers on server stack
=== Kubernetes - The Hard Way === | |
== The labs are hosted on GCP == | |
== Provisioning Compute Resource == | |
Kubernetes requires a set of machines to host the K8 control plane | |
and the worker nodes where containers are run. | |
== Networking == | |
Kubernetes assumes a flat network within its networking model in which |
# Template for pushing to github packages | |
# authenticate on github | |
docker login docker.pkg.github.com --username <github_username> | |
# build image | |
docker build -t docker.pkg.github.com/<github_username>/<repository_name>/<image_name>:<version> <path_to_image_use_._if_in_current_directory> | |
# push image | |
docker push docker.pkg.github.com/<github_username>/<repository_name>/<image_name>:<version> |
# Download the Maven binary tar.gz file from the Maven website - for this gist I presume to downloads | |
# Add Maven to the Evnironment Path | |
# Fix permissions | |
cd /Users/<home_dir> | |
sudo chown -R root:wheel Downloads/apache-maven* | |
sudo mv Downloads/apache-maven* /opt/apache-maven |
cp -a /source/. /dest/ |
# in terminal | |
brew install nginx | |
# running on default port you can run without sudo | |
nginx | |
# fancy running nginx evertime you start the machine? | |
# brew services start nginx | |
# check its running - http://localhost:8080 |
#!/bin/bash | |
# A simple script that will update packages that have node-gyp issues (where the package throws an error) | |
# FYI - node-gyp is a tool that compiles Node.js Addons. | |
npm install -g npm-check-updates | |
npm-check-updates -u | |
npm install |
A scratchpad for the fundamentals of Quantum Computing | |
Links - to review in order: | |
https://www.technologyreview.com/s/612844/what-is-quantum-computing/ | |
https://www.youtube.com/watch?v=F_Riqjdh2oM&feature=youtu.be | |
https://www.youtube.com/watch?v=JRIPV0dPAd4&feature=youtu.be | |
Play with a Quantum Computer: | |
ibm.biz/qx-introduction |
import boto3 | |
""" | |
Quick and dirty script - written as part of the AWS Data Lab Workshop | |
- More work required to formalize the below - untested code. | |
Move to CDK - when given a free moment | |
""" | |
class OnDemandReadReplica(): |
Collection of notes on Kubernetes | |
🔗 Links: | |
https://www.freecodecamp.org/news/learn-kubernetes-in-under-3-hours-a-detailed-guide-to-orchestrating-containers-114ff420e882/ | |
https://github.com/kelseyhightower/kubernetes-the-hard-way | |
[IN PROGRESS] | |
Learn Kubernetes in Under 3 Hours: A Detailed Guide to Orchestrating Containers | |
https://www.freecodecamp.org/news/learn-kubernetes-in-under-3-hours-a-detailed-guide-to-orchestrating-containers-114ff420e882/ |