All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
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
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
#!/usr/bin/python | |
# vim: fileencoding=utf-8 | |
# SPDX-License-Identifier: MIT | |
u"""Translate YAML written text to graphviz dot language | |
Input YAML text like below: | |
--- |
Job title: System Engineer Intern
Location: Tampa, FL (remote)
Reports to: Chief Technology Officer (CTO)
Employment type: full/part time
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 |
NewerOlder