Error: error parsing 2048-pod.yaml: error converting YAML to JSON: yaml: found character that cannot start any token

Iam getting error in the yaml file. Iam trying to deploy 2048game in EKS. So trying to create a pod first, for which I have written the yaml file.
image
apiVersion: v1
kind: Pod
metadata:
name: 2048-pod
labels:
app: 2048-ws
spec:
containers:

  • name: 2048-container
    image: blackicebird/2048
    ports:
    • containerPort: 80

labels is over-indented.

2 Likes

Thank You so much !