{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/frakti/issues/350","repository_url":"https://api.github.com/repos/kubernetes/frakti","labels_url":"https://api.github.com/repos/kubernetes/frakti/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/frakti/issues/350/comments","events_url":"https://api.github.com/repos/kubernetes/frakti/issues/350/events","html_url":"https://github.com/kubernetes/frakti/pull/350","id":389177124,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MjI0NTE2","number":350,"title":"Fix: Upgrade vendored to v1.13.0 & Replace glog to klog","user":{"login":"liyanyanli","id":19758384,"node_id":"MDQ6VXNlcjE5NzU4Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/19758384?v=4","gravatar_id":"","url":"https://api.github.com/users/liyanyanli","html_url":"https://github.com/liyanyanli","followers_url":"https://api.github.com/users/liyanyanli/followers","following_url":"https://api.github.com/users/liyanyanli/following{/other_user}","gists_url":"https://api.github.com/users/liyanyanli/gists{/gist_id}","starred_url":"https://api.github.com/users/liyanyanli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyanyanli/subscriptions","organizations_url":"https://api.github.com/users/liyanyanli/orgs","repos_url":"https://api.github.com/users/liyanyanli/repos","events_url":"https://api.github.com/users/liyanyanli/events{/privacy}","received_events_url":"https://api.github.com/users/liyanyanli/received_events","type":"User","site_admin":false},"labels":[{"id":485882754,"node_id":"MDU6TGFiZWw0ODU4ODI3NTQ=","url":"https://api.github.com/repos/kubernetes/frakti/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":676320897,"node_id":"MDU6TGFiZWw2NzYzMjA4OTc=","url":"https://api.github.com/repos/kubernetes/frakti/labels/size/XXL","name":"size/XXL","color":"ee0000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-10T07:43:10Z","updated_at":"2018-12-18T01:14:40Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kubernetes/frakti/pulls/350","html_url":"https://github.com/kubernetes/frakti/pull/350","diff_url":"https://github.com/kubernetes/frakti/pull/350.diff","patch_url":"https://github.com/kubernetes/frakti/pull/350.patch"},"body":"**1.Describe what this PR did**\r\n\r\nUpgrade vendored Kubernetes to v1.13.0 & Replace glog to klog\r\n\r\n**2.Does this pull request fix one issue?**\r\n\r\nNONE\r\n\r\n**3.Describe how you did it**\r\n\r\nUpgrade vendored Kubernetes to v1.13.0 & Replace glog to klog\r\n\r\n**4.Describe how to verify it**\r\n**Env:**\r\nk8s:v1.13.0\r\nnetworkPlugin: weave:2.5.0\r\ndocker:18.06.1-ce\r\n\r\n**cri-tool:**\r\nNONE\r\n\r\n**Kubernetes:**\r\nruntime-docker:\r\n```\r\n[root@frakti1-13-1 ~]# kubectl create -f frakti-docker-1.yaml \r\ndeployment.apps/frakti-docker-1 created\r\n[root@frakti1-13-1 ~]# kubectl create -f frakti-docker-2.yaml \r\ndeployment.apps/frakti-docker-2 created\r\n[root@frakti1-13-1 ~]# kubectl get pod  -owide\r\nNAME                               READY   STATUS    RESTARTS   AGE   IP          NODE           NOMINATED NODE   READINESS GATES\r\nfrakti-docker-1-984f44ff9-nlsqx    1/1     Running   0          43s   10.32.0.3   frakti1-13-1   <none>           <none>\r\nfrakti-docker-2-6c7d559876-fwvql   1/1     Running   0          39s   10.40.0.7   frakti1-13-2   <none>           <none>\r\n```\r\n\r\nCross host network:\r\n```\r\n[root@frakti1-13-1 ~]# docker exec -it e53f5e5d0987 bash\r\n[ root@frakti-docker-1-984f44ff9-nlsqx:/etc/nginx ]$ ping 10.32.0.3\r\nPING 10.32.0.3 (10.32.0.3) 56(84) bytes of data.\r\n64 bytes from 10.32.0.3: icmp_seq=1 ttl=64 time=0.066 ms\r\n64 bytes from 10.32.0.3: icmp_seq=2 ttl=64 time=0.080 ms\r\n--- 10.32.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 999ms\r\nrtt min/avg/max/mdev = 0.066/0.073/0.080/0.007 ms\r\n[ root@frakti-docker-1-984f44ff9-nlsqx:/etc/nginx ]$ ping 10.40.0.7\r\nPING 10.40.0.7 (10.40.0.7) 56(84) bytes of data.\r\n64 bytes from 10.40.0.7: icmp_seq=1 ttl=64 time=44.2 ms\r\n64 bytes from 10.40.0.7: icmp_seq=2 ttl=64 time=0.569 ms\r\n64 bytes from 10.40.0.7: icmp_seq=3 ttl=64 time=0.615 ms\r\n--- 10.40.0.7 ping statistics ---\r\n3 packets transmitted, 3 received, 0% packet loss, time 2001ms\r\nrtt min/avg/max/mdev = 0.569/15.159/44.294/20.601 ms\r\n```\r\n\r\nDelete deployment:\r\n```\r\n[root@frakti1-13-1 ~]# kubectl get deployment \r\nNAME              READY   UP-TO-DATE   AVAILABLE   AGE\r\nfrakti-docker-1   1/1     1            1           2m48s\r\nfrakti-docker-2   1/1     1            1           2m44s\r\n[root@frakti1-13-1 ~]# kubectl delete deployment frakti-docker-1\r\ndeployment.extensions \"frakti-docker-1\" deleted\r\n[root@frakti1-13-1 ~]# kubectl delete deployment frakti-docker-2\r\ndeployment.extensions \"frakti-docker-2\" deleted\r\n[root@frakti1-13-1 ~]# kubectl get deployment \r\nNo resources found.\r\n[root@frakti1-13-1 ~]# kubectl get pod\r\nNo resources found.\r\n```\r\n\r\nExample yaml:\r\n[root@frakti1-13-1 ~]# cat frakti-docker-1.yaml \r\n```\r\napiVersion: apps/v1\r\nkind: Deployment\r\nmetadata:\r\n  name: frakti-docker-1\r\n  labels:\r\n    frakti: frakti\r\nspec:\r\n  selector:\r\n    matchLabels:\r\n      frakti: frakti\r\n  template:\r\n    metadata:\r\n      annotations:\r\n        runtime.frakti.alpha.kubernetes.io/OSContainer: \"true\"\r\n      labels:\r\n        frakti: frakti\r\n    spec:\r\n      nodeName: frakti1-13-1\r\n      containers:\r\n      - name: frakti\r\n        image: gcr.io/google_containers/nginx\r\n        env:\r\n          - name: TESTNAME\r\n            valueFrom:\r\n              fieldRef:\r\n                fieldPath: status.hostIP\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/frakti/issues/comments/448059586","html_url":"https://github.com/kubernetes/frakti/pull/350#issuecomment-448059586","issue_url":"https://api.github.com/repos/kubernetes/frakti/issues/350","id":448059586,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODA1OTU4Ng==","user":{"login":"liyanyanli","id":19758384,"node_id":"MDQ6VXNlcjE5NzU4Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/19758384?v=4","gravatar_id":"","url":"https://api.github.com/users/liyanyanli","html_url":"https://github.com/liyanyanli","followers_url":"https://api.github.com/users/liyanyanli/followers","following_url":"https://api.github.com/users/liyanyanli/following{/other_user}","gists_url":"https://api.github.com/users/liyanyanli/gists{/gist_id}","starred_url":"https://api.github.com/users/liyanyanli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyanyanli/subscriptions","organizations_url":"https://api.github.com/users/liyanyanli/orgs","repos_url":"https://api.github.com/users/liyanyanli/repos","events_url":"https://api.github.com/users/liyanyanli/events{/privacy}","received_events_url":"https://api.github.com/users/liyanyanli/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T01:14:40Z","updated_at":"2018-12-18T01:14:40Z","author_association":"CONTRIBUTOR","body":"Hi, @resouer @eparis .Is there anything else that needs improvement?"}}
{"actor":{"display_login":"liyanyanli"}}