Hi Vasista,
I had the same issue.
No logs and same error.
What worked for me is removing the ports and restartpolicy section from my yaml 
file that creates the deployment.
Probably it was trying to expose the container on port 80.
I am still learning kubernetes as well so not sure whats exactly going on... 
but hope it points you to the right direction.

----------------------
GOODconfig.yaml
----------------------
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
  name: net
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: net
    spec:
      containers:
      - name: net
        image: ubuntu
        imagePullPolicy: IfNotPresent


----------------------
BADconfig.yaml
----------------------
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
  name: net
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: net
    spec:
      containers:
      - name: net
        image: ubuntu
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 80
      restartPolicy: Always




-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to