kubectl get pods -n cattle-system
NAME READY STATUS RESTARTS AGE
cattle-cluster-agent-5d576c8868-kw4g5 0/1 CrashLoopBackOff 39 3h31m
cattle-cluster-agent-5d576c8868-zntln 0/1 CrashLoopBackOff 39 3h30m
lramage@srq-wrk-005:~$ kubectl logs cattle-cluster-agent-5d576c8868-zntln -n cattle-system
INFO: Environment: CATTLE_ADDRESS=10.30.59.102 CATTLE_CA_CHECKSUM= CATTLE_CLUSTER=true CATTLE_CLUSTER_AGENT_PORT=tcp://172.20.114.59:80 CATTLE_CLUSTER_AGENT_PORT_443_TCP=tcp://172.20.114.59:443 CATTLE_CLUSTER_AGENT_PORT_443_TCP_ADDR=172.20.114.59 CATTLE_CLUSTER_AGENT_PORT_443_TCP_PORT=443 CATTLE_CLUSTER_AGENT_PORT_443_TCP_PROTO=tcp CATTLE_CLUSTER_AGENT_PORT_80_TCP=tcp://172.20.114.59:80 CATTLE_CLUSTER_AGENT_PORT_80_TCP_ADDR=172.20.114.59 CATTLE_CLUSTER_AGENT_PORT_80_TCP_PORT=80 CATTLE_CLUSTER_AGENT_PORT_80_TCP_PROTO=tcp CATTLE_CLUSTER_AGENT_SERVICE_HOST=172.20.114.59 CATTLE_CLUSTER_AGENT_SER
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: 0BSD | |
resource "aws_elb" "lramage-elb-001" { | |
availability_zones = [ | |
"us-east-1a", | |
"us-east-1b" | |
] | |
connection_draining = false | |
connection_draining_timeout = 300 | |
cross_zone_load_balancing = false | |
idle_timeout = 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check Open Sockets | |
# See: https://github.com/rancher/rancher/issues/31324 | |
NAME=$(docker ps --format='{{.Names}}' |grep k8s_cluster-register_cattle-cluster-agent) | |
PID=$(docker inspect -f '{{.State.Pid}}' "$NAME") | |
[ ! -d /var/run/netns ] && mkdir /var/run/netns | |
ln -sf /proc/$PID/ns/net "/var/run/netns/$NAME" | |
ip netns exec ${NAME} lsof -i -n -P |
Job title: System Engineer Intern
Location: Tampa, FL (remote)
Reports to: Chief Technology Officer (CTO)
Employment type: full/part time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Lowercase all file names in git repository | |
# SPDX-License-Identifier: 0BSD | |
# FIXME: recurse subdirectories | |
for file in *; do | |
lowercase_name=$(echo $file | awk '{ print tolower($0) }') | |
# https://stackoverflow.com/a/30654833/8507637 | |
git mv "${file}" "_${lowercase_name}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: MIT | |
FROM alpine:latest | |
# Install nginx and enable gzip compression | |
RUN apk update && \ | |
apk upgrade && \ | |
apk add nginx && \ | |
mkdir -p /run/nginx && \ | |
touch /run/nginx/nginx.pid && \ | |
sed -i 's/#gzip on;/gzip on;/g' /etc/nginx/nginx.conf |
NewerOlder