This file contains hidden or 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
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
annotations: | |
deployment.kubernetes.io/revision: "1" | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"extensions/v1beta1","kind":"Deployment","metadata":{"annotations":{},"name":"cattle-cluster-agent","namespace":"cattle-system"},"spec":{"selector":{"matchLabels":{"app":"cattle-cluster-agent"}},"template":{"metadata":{"labels":{"app":"cattle-cluster-agent"}},"spec":{"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"beta.kubernetes.io/os","operator":"NotIn","values":["windows"]}]}]}}},"containers":[{"env":[{"name":"CATTLE_SERVER","value":"https://192.81.212.173"},{"name":"CATTLE_CA_CHECKSUM","value":"376619e8c861a8fa151646c3faeb31980dcf4c2f967fcc1364352bf5c2209f6d"},{"name":"CATTLE_CLUSTER","value":"true"},{"name":"CATTLE_K8S_MANAGED","value":"true"}],"image":"rancher/rancher-agent:v2.2.2","imagePullPolicy":"IfNotPresent","name":"cluster-register","v |
This file contains hidden or 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
while read in; do docker pull "$in"; done < rancher-images.txt | |
docker images --digests | grep -vi none | grep -vi repository | awk '{print "| " $1 ":" $2 " | " $3 " |"}' | sed 's/| //g' | sed 's/ |//g' > all-images.txt | |
while read in; do grep "$in" all-images.txt; done < rancher-images.txt > rancher-images-digests.txt |
This file contains hidden or 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
Started by user Alena | |
Building in workspace C:\Program Files (x86)\Jenkins\workspace\windows-rancher-agent | |
> git.exe rev-parse --is-inside-work-tree # timeout=10 | |
Fetching changes from the remote Git repository | |
> git.exe config remote.origin.url https://github.com/rancher/rancher # timeout=10 | |
Fetching upstream changes from https://github.com/rancher/rancher | |
> git.exe --version # timeout=10 | |
> git.exe fetch --tags --progress https://github.com/rancher/rancher +refs/heads/*:refs/remotes/origin/* | |
> git.exe rev-parse "tags/v2.2.0-rc5^{commit}" # timeout=10 | |
> git.exe rev-parse "refs/remotes/origin/tags/v2.2.0-rc5^{commit}" # timeout=10 |
This file contains hidden or 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
while read in; do docker pull "$in"; done < rancher-images.txt | |
docker images --digests | grep -vi none | grep -vi repository | awk '{print "| " $1 ":" $2 " | " $3 " |"}' | sed 's/| //g' | sed 's/ |//g' > all-images.txt | |
while read in; do grep "$in" all-images.txt; done < rancher-images.txt > rancher-images-digests.txt |
This file contains hidden or 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
# Steps to patch k8s 1.11 with umount timeout fix | |
Summary: | |
--- | |
* Custom image id: husseingalal/hyperkube-rancher:v1.11.6 | |
* As Rancher 2.1.x doesn't support passing an arbitrary kubernetes version to the cluster create/update, the custom image has to be pre-downloaded to the hosts and tagged as the image officially supported by Rancher 2.1.3. | |
* Rancher engineer verified the fix provided with the patch, and confirms that reducing the hardcoded volume unmount timeout, results in volume getting unbound from the shutdown host in 10 seconds as opposed to 6 minutes seen on non-patched k8s version. | |
Instructions: | |
--- |
This file contains hidden or 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
rancher-logs-01-17-2019-crash.log:time="2019-01-17T17:17:34Z" level=info msg="Adding route: POST /v2-beta/project" | |
rancher-logs-01-17-2019-crash.log:time="2019-01-17T17:17:34Z" level=info msg="Adding route: POST /v2-beta/projects" | |
rancher-logs-01-17-2019-crash.log:time="2019-01-17T17:17:34Z" level=info msg="Adding route: POST /v2-beta/projecttemplate" | |
rancher-logs-01-17-2019-crash.log:time="2019-01-17T17:17:34Z" level=info msg="Adding route: POST /v2-beta/projecttemplates" | |
rancher-logs-01-17-2019-crash.log:time="2019-01-17T17:17:34Z" level=info msg="Adding route: POST /v2-beta/projects/{path:.*}/stack" | |
rancher-logs-01-17-2019-crash.log:time="2019-01-17T17:17:34Z" level=info msg="Adding route: POST /v2-beta/projects/{path:.*}/stacks" | |
rancher-logs-01-17-2019-crash.log:time="2019-01-17T17:17:34Z" level=info msg="Adding route: POST /v2-beta/projects/{path:.*}/stack/{path:.*}" | |
rancher-logs-01-17-2019-crash.log:time="2019-01-17T17:17:34Z" level=info msg="Adding route: POST /v2-beta/projects/{path:.*}/stacks/{path:. |
This file contains hidden or 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
> kubectl describe pod cattle-node-agent-h9qh2 --namespace cattle-system | |
Name: cattle-node-agent-h9qh2 | |
Namespace: cattle-system | |
Priority: 0 | |
PriorityClassName: <none> | |
Node: ip-172-31-14-214/172.31.14.214 | |
Start Time: Tue, 27 Nov 2018 01:15:39 +0000 | |
Labels: app=cattle-agent | |
controller-revision-hash=1593238794 | |
pod-template-generation=1 |
This file contains hidden or 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
{"baseType":"workload","containers":[{"image":"nginx:1.7.9","imagePullPolicy":"IfNotPresent","initContainer":false,"name":"nginx","resources":{"type":"/v3/project/schemas/resourceRequirements","requests":{},"limits":{}},"restartCount":0,"stdin":false,"stdinOnce":false,"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","tty":false,"type":"container","capAdd":[],"capDrop":[]}],"created":"2018-09-28T05:36:47Z","createdTS":1538113007000,"creatorId":null,"deploymentConfig":{"maxSurge":"25%","maxUnavailable":"25%","minReadySeconds":0,"progressDeadlineSeconds":600,"revisionHistoryLimit":10,"strategy":"RollingUpdate"},"deploymentStatus":{"availableReplicas":1,"conditions":[{"lastTransitionTime":"2018-09-28T05:36:48Z","lastTransitionTimeTS":1538113008000,"lastUpdateTime":"2018-09-28T05:36:48Z","lastUpdateTimeTS":1538113008000,"message":"Deployment has minimum availability.","reason":"MinimumReplicasAvailable","status":"True","type":"Available"},{"lastTransitionTime":"2018-09-28T05:36:47Z |
This file contains hidden or 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
Not available | |
Not available | |
Not available |
This file contains hidden or 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
{name: "resource.change",…} | |
data | |
: | |
{actions: {}, baseType: "service", clusterIp: "10.99.233.79", created: "2018-05-09T20:32:22Z",…} | |
actions | |
: | |
{} | |
baseType | |
: | |
"service" |