When we create a Pod in Kubernetes, we can specify the commands and arguments we want to pass to the container(s) the Pod will create. We can do this by command and args keys.

apiVersion: v1
kind: Pod
metadata:
  name: name-of-pod
spec:
  containers:
    - name: container-name
      image: image-name
      command: ['command']
      args: ['argument1', 'argument2']

References