I have use this deployment file to create alpha-xyz deployment.
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: alpha-xyz
name: alpha-xyz
namespace: alpha
spec:
replicas: 1
selector:
matchLabels:
app: alpha-xyz
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: alpha-xyz
spec:
containers:
- image: docker.io/library/nginx:alpine
name: nginx
securityContext:
appArmorProfile:
type: Localhost
localhostProfile: custom-nginx
volumeMounts:
- name: data-volume
mountPath: /usr/share/nginx/html
volumes:
- name: data-volume
persistentVolumeClaim:
claimName: alpha-pvc
My all other scenarios is passed except 2 (images and alpha-xyz). As per my understanding, my deployment file is correct.
May i know what is wrong in this
screenshot

