Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit
| #!/usr/bin/env bash | |
| # This script is meant to build and compile every protocolbuffer for each | |
| # service declared in this repository (as defined by sub-directories). | |
| # It compiles using docker containers based on Namely's protoc image | |
| # seen here: https://github.com/namely/docker-protoc | |
| set -e | |
| REPOPATH=${REPOPATH-/opt/protolangs} | |
| CURRENT_BRANCH=${CIRCLE_BRANCH-"branch-not-available"} |
| BASEDIR = $(shell pwd) | |
| RULELIST = $(shell gcloud compute forwarding-rules list --format='value[terminator=" "](name)') | |
| include Makefile.properties | |
| all: cluster app | |
| app: db api frontend | |
| # Requests a GKE cluster | |
| cluster: |
| # Make sure that you’ve installed minikube and run `minikube start` to get your Kubernetes cluster running. | |
| minikube version (should be at least 0.19.0) | |
| minikube start | |
| kubectl version (should be at least 1.6.0 for both client and server) | |
| ------------------- | |
| # Create the CockroachDB cluster and other relevant resources | |
| kubectl create -f https://bit.ly/crdb-k8s-yaml | |
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| // Sine wave generator | |
| // Ed Nisley - KE4ZNU | |
| // 2017-09-20 | |
| #include <avr/pgmspace.h> | |
| #include <U8g2lib.h> | |
| #include <U8x8lib.h> | |
| #include <Adafruit_MCP4725.h> | |
| //--------------------- |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
How to configure your Mac to use DNS over TLS in five easy steps:
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
brew install stubby
Edit the configuration file:
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_login_manager/splash_screen.dart'; | |
| import 'package:flutter_login_manager/model/login_info.dart'; | |
| import 'package:flutter_login_manager/model/login.dart' as loginManager; | |
| import 'package:flutter_login_manager/home_screen.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatefulWidget { | |
| @override |