Malayamanas Panda:
@Mumshad Mannambeth Please let me know - How I can generate boiler plate manifests for some objects, which can not be created with --dry-run=client. Please advice what object’s manifest must be remembered for CKA/CKAD/CKS examinations.
For example, pv or networkpolicy , I do not find any ways to generate a manifest template with --dry-run=client.
kubectl run for pod and kubectl create for below objects are available with --dry-run=client.
Available Commands:
clusterrole Create a ClusterRole.
clusterrolebinding Create a ClusterRoleBinding for a particular ClusterRole
configmap Create a configmap from a local file, directory or literal value
cronjob Create a cronjob with the specified name.
deployment Create a deployment with the specified name.
job Create a job with the specified name.
namespace Create a namespace with the specified name
poddisruptionbudget Create a pod disruption budget with the specified name.
priorityclass Create a priorityclass with the specified name.
quota Create a quota with the specified name.
role Create a role with single rule.
rolebinding Create a RoleBinding for a particular Role or ClusterRole
secret Create a secret using specified subcommand
service Create a service using specified subcommand.
serviceaccount Create a service account with the specified name