From 441cafec53c3e736384d2a6fb262dac61f796703 Mon Sep 17 00:00:00 2001 From: Tom Kivlin <52716470+tomkivlin@users.noreply.github.com> Date: Thu, 10 Dec 2020 19:47:28 +0000 Subject: [PATCH 1/2] monospaced --> unordered list As mentioned in issue #25501. --- .../en/docs/reference/kubectl/conventions.md | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/content/en/docs/reference/kubectl/conventions.md b/content/en/docs/reference/kubectl/conventions.md index 8b5ab20cdb..b31bcf435b 100644 --- a/content/en/docs/reference/kubectl/conventions.md +++ b/content/en/docs/reference/kubectl/conventions.md @@ -37,23 +37,22 @@ All `kubectl run` generators are deprecated. See the Kubernetes v1.17 documentat #### Generators You can generate the following resources with a kubectl command, `kubectl create --dry-run=client -o yaml`: -``` - 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. -``` + +* `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. ### `kubectl apply` From f095cf3ecf242cb2eee7bef9aa546ef2a8fdf126 Mon Sep 17 00:00:00 2001 From: Tom Kivlin <52716470+tomkivlin@users.noreply.github.com> Date: Tue, 12 Jan 2021 08:03:14 +0000 Subject: [PATCH 2/2] update resource terms to CamelCase where a resource is mentioned in the description, use CamelCase. --- .../en/docs/reference/kubectl/conventions.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/content/en/docs/reference/kubectl/conventions.md b/content/en/docs/reference/kubectl/conventions.md index b31bcf435b..c8016453cd 100644 --- a/content/en/docs/reference/kubectl/conventions.md +++ b/content/en/docs/reference/kubectl/conventions.md @@ -40,19 +40,19 @@ You can generate the following resources with a kubectl command, `kubectl create * `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. +* `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 PodDisruptionBudget 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. +* `secret`: Create a Secret using specified subcommand. +* `service`: Create a Service using specified subcommand. +* `serviceaccount`: Create a ServiceAccount with the specified name. ### `kubectl apply`