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
Jul 14 09:57:38 $NODE-HOSTNAME kubelet[1442]: I0714 09:57:38.454172 1442 operation_executor.go:720] MountVolume.SetUp succeeded for volume "kubernetes.io/secret/default-token-er8kn" (spec.Name: "default-t | |
Jul 14 09:57:39 $NODE-HOSTNAME kernel: docker0: port 3(veth47cdf81) entered forwarding state | |
Jul 14 09:57:57 $NODE-HOSTNAME kubelet[1442]: I0714 09:57:57.879807 1442 kubelet.go:2541] SyncLoop (UPDATE, "api"): "jenkins-0_default(5cb3cdcb-49a9-11e6-8f75-fa163e7741de):DeletionTimestamp=2016-07-14T09 | |
Jul 14 09:57:57 $NODE-HOSTNAME kubelet[1442]: I0714 09:57:57.881866 1442 docker_manager.go:1326] Killing container "fd46b633dea6087146f32bf6b4948d6cc1510ee254628e0568aa56bd0b68092f helper default/jenkins- | |
Jul 14 09:57:57 $NODE-HOSTNAME kubelet[1442]: I0714 09:57:57.987596 1442 kubelet.go:2544] SyncLoop (REMOVE, "api"): "jenkins-0_default(5cb3cdcb-49a9-11e6-8f75-fa163e7741de)" | |
Jul 14 09:57:57 $NODE-HOSTNAME kubelet[1442]: I0714 09:57:57.988276 1442 kubelet.go:2312] Killing unwanted pod "jenkins-0" | |
Jul |
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/bash | |
set -xe | |
do_backup(){ | |
rsync -avz --delete-after --exclude='.trashcan' /jhome/ /jbackup/ | |
} | |
while : ; do sleep 300 ; do_backup ; done |
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/bash | |
for ((i = 0; ; i++)); do echo "$i: $(date)" > $1; echo "looping $i , $(date)"; sleep 1; done |
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/bash | |
date |
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/bash | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
#credits : https://raw.githubusercontent.com/meteorhacks/kube-init/master/kube-init.sh | |
waitFor() { | |
cmd=$1 | |
while [ 1 ]; do | |
ok=$(eval $cmd) | |
if [ "$ok" ]; then | |
break | |
fi | |
sleep 1 |
NewerOlder