{"action":"opened","issue":{"url":"https://api.github.com/repos/heptio/tgik/issues/67","repository_url":"https://api.github.com/repos/heptio/tgik","labels_url":"https://api.github.com/repos/heptio/tgik/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/heptio/tgik/issues/67/comments","events_url":"https://api.github.com/repos/heptio/tgik/issues/67/events","html_url":"https://github.com/heptio/tgik/issues/67","id":341254720,"node_id":"MDU6SXNzdWUzNDEyNTQ3MjA=","number":67,"title":"Episode 042: Tips and Tricks with Ballerina and Kubernetes","user":{"login":"abdennour","id":1788384,"node_id":"MDQ6VXNlcjE3ODgzODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1788384?v=4","gravatar_id":"","url":"https://api.github.com/users/abdennour","html_url":"https://github.com/abdennour","followers_url":"https://api.github.com/users/abdennour/followers","following_url":"https://api.github.com/users/abdennour/following{/other_user}","gists_url":"https://api.github.com/users/abdennour/gists{/gist_id}","starred_url":"https://api.github.com/users/abdennour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdennour/subscriptions","organizations_url":"https://api.github.com/users/abdennour/orgs","repos_url":"https://api.github.com/users/abdennour/repos","events_url":"https://api.github.com/users/abdennour/events{/privacy}","received_events_url":"https://api.github.com/users/abdennour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-14T18:02:00Z","updated_at":"2018-07-14T18:02:00Z","closed_at":null,"author_association":"NONE","body":"After building `.bal`, Ballerina platform creates a docker image as specified. I see that @kris-nova  pushes the image to docker hub in order to be pulled by the kubernetes cluster successfully.\r\n\r\nIf you are using minikube as a local kubernetes cluster, this is a tip: \r\nYou can your docker image without pushing it to a remote repository. \r\nThis is done by pointing your docker client CLI to minikube itslef\r\n\r\n```sh\r\neval $(minikube docker-env)\r\n```\r\n\r\nAlso, make sure `imagePullPolicy` not equal to `Restart`, or do not specify it since the default value with Ballerina is `IIfNotPresent`\r\n\r\nBriefly,\r\n\r\n```sh\r\nminkube start\r\neval $(minikube docker-env)\r\nballerina build hello-kubernetes.bal\r\nkubectl apply -f kubernetes/\r\n```\r\n\r\n@kris-nova  Please let me know if I should open pull-request, and where ( insdie README or another file) ?\r\n\r\n"}}
{"actor":{"display_login":"abdennour"}}