These instructions are only tested on installations that use the Docker apt repository.
-
Remove the existing installation
sudo apt-get remove docker-engine
-
List the available versions
These instructions are only tested on installations that use the Docker apt repository.
Remove the existing installation
sudo apt-get remove docker-engine
List the available versions
kubectl get services # List all services | |
kubectl get pods # List all pods | |
kubectl get nodes -w # Watch nodes continuously | |
kubectl version # Get version information | |
kubectl cluster-info # Get cluster information | |
kubectl config view # Get the configuration | |
kubectl describe node <node> # Output information about a node | |
kubectl get pods # List the current pods | |
kubectl describe pod <name> # Describe pod <name> | |
kubectl get rc # List the replication controllers |
brew cask install chef/chef/chefdk | |
CHEFDK="/opt/chefdk/embedded" | |
CHEFDK_USER="$HOME/.chefdk/gem/ruby/2.5.0" | |
RVM_GEMS="$HOME/.rvm/gems" | |
RVM_RUBIES="$HOME/.rvm/rubies" | |
RUBY_NAME="ext-chefdk-ruby" | |
mkdir -p $RVM_RUBIES/$RUBY_NAME | |
ln -s $CHEFDK/bin $RVM_RUBIES/$RUBY_NAME |
import boto3 | |
import http.client | |
import json | |
import logging | |
import os | |
from base64 import b64decode | |
conn = http.client.HTTPSConnection("api.codeship.com") | |
payload = "{}" |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Disclaimer: The following examples try to give an overview of the process followed in different scenarios. Some commands were actually written from memory. Some tools might exist simplifying all this. Furthermore, I'm no expert so if anyone ever reads this and knows any improvement, please let me know.
Given that the Guest User can access the Pairing Station directly, either because the station is publicly available or because NAT port forwarding can be used, there's only one thing we need to do, give ssh access to the Guest User by adding his ssh public key to our Local User (pair
) .ssh/authorized_keys
file.
The local user would open up a tmux session with
tmux new-session -s pairing
begin | |
require 'ruby-shadow' | |
user_pw = u['password'] | |
rescue LoadError | |
user_pw = nil | |
end | |
# Create user object. | |
# Do NOT try to manage null home directories. | |
user u['id'] do |
include Opscode::Aws::Ec2 | |
#Auto locates and attached ebs devices based on the data bag they reside in. The following test cases need to be performed | |
# Create multiple resources with new node: PASS | |
# | |
# Re-attach multiple resources after a reboot: PASS | |
# | |
# Create resources across 2 runs. First run creates first raid set, second run re-attaches then creates: PASS | |
# |
include Chef::Mixin::Command | |
action :create do | |
size = new_resource.size | |
volumes = new_resource.volumes.times.map{|i| (i == 0 ? "/dev/sdf" : "/dev/sdf#{i}") } | |
setra = new_resource.blockdev_setra | |
volume_group = new_resource.volume_group | |
logical_volume = new_resource.name | |
mdadm_device = new_resource.mdadm_device | |
mount_point = new_resource.mount_point |