Skip to content

Instantly share code, notes, and snippets.

View yoplait's full-sized avatar

Juan Carlos Pérez yoplait

View GitHub Profile
[vagrant@ip-192-168-17-150 containers]$ sudo cat kube-proxy-l67j4_kube-system_kube-proxy-0b2e3f54212c1dcf4af3429fc61607df3d2017afea75d7c81aab933e8b9d831c.log
2023-09-11T14:23:21.1065608Z stderr F I0911 14:23:21.104875 1 flags.go:64] FLAG: --bind-address="0.0.0.0"
2023-09-11T14:23:21.106595355Z stderr F I0911 14:23:21.104973 1 flags.go:64] FLAG: --bind-address-hard-fail="false"
2023-09-11T14:23:21.106599398Z stderr F I0911 14:23:21.104978 1 flags.go:64] FLAG: --boot-id-file="/proc/sys/kernel/random/boot_id"
2023-09-11T14:23:21.106601898Z stderr F I0911 14:23:21.104983 1 flags.go:64] FLAG: --cleanup="false"
2023-09-11T14:23:21.106604278Z stderr F I0911 14:23:21.104986 1 flags.go:64] FLAG: --cluster-cidr=""
2023-09-11T14:23:21.106606656Z stderr F I0911 14:23:21.104991 1 flags.go:64] FLAG: --config="/var/lib/kube-proxy-config/config"
2023-09-11T14:23:21.106609082Z stderr F I0911 14:23:21.104995 1 flags.go:64] FLAG: --config-sync-period="15m0s"
2023-09-11T14:23:21.10661132
[vagrant@ip-192-168-17-150 log]$ sudo journalctl -u kubelet
-- Logs begin at Mon 2023-09-11 14:21:25 UTC, end at Mon 2023-09-11 14:38:58 UTC. --
Sep 11 14:23:07 ip-192-168-17-150.ec2.internal systemd[1]: Starting Kubelet...
Sep 11 14:23:07 ip-192-168-17-150.ec2.internal systemd[1]: Started Kubelet.
Sep 11 14:23:11 ip-192-168-17-150.ec2.internal kubelet[1081]: Flag --pod-infra-container-image has been deprecated, will be removed in a future release. Image garbage collector will get sandbox image information from CRI.
Sep 11 14:23:11 ip-192-168-17-150.ec2.internal kubelet[1081]: I0911 14:23:11.796116 1081 server.go:199] "--pod-infra-container-image will not be pruned by the image garbage collector in kubelet and should also be set in the remote runtime"
Sep 11 14:23:11 ip-192-168-17-150.ec2.internal kubelet[1081]: W0911 14:23:11.797411 1081 feature_gate.go:241] Setting GA feature gate KubeletCredentialProviders=true. It will be removed in a future release.
Sep 11 14:23:11 ip-192-168-17-150.ec2.internal k
@yoplait
yoplait / exercise3.sh
Last active June 26, 2022 18:39
Exercise 3: Find all ships that have crews between 3 and 100
#!/usr/bin/env bash
##########################################################################################
# Exercise 3: Find all ships that have crews between 3 and 100
clear
URL='https://swapi.dev/api'
PAGE=1
echo ""
@yoplait
yoplait / exercise2.sh
Last active June 26, 2022 18:39
Exercise 2: Find all ships that have a hyperdrive rating >= 1.0
#!/usr/bin/env bash
##########################################################################################
# Exercise 2: Find all ships that have a hyperdrive rating >= 1.0
clear
URL='https://swapi.dev/api'
PAGE=1
echo ""
@yoplait
yoplait / exercise1.sh
Last active June 26, 2022 18:38
Exercise 1: Find all ships that appeared in Return of the Jedi
#!/usr/bin/env bash
##########################################################################################
# Exercise 1: Find all ships that appeared in Return of the Jedi
clear
URL='https://swapi.dev/api'
PAGE=1
echo ""
mvn deploy:deploy-file -DgroupId=com.firecrestclinical.paultest -DartifactId=sdr -Dversion=5.11.0-RC3 -DgeneratePom=true -Dpackaging=war -DrepositoryId=com.firecrestclinical.bundles.snapshot -Durl=http://software.fcrest.net/nexus/content/repositories/snapshots -Dfile=sdr.war
#!/bin/bash
# Run on VM to bootstrap Puppet Master server
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo " "
echo "Bootstraping..."
echo " "
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"