You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user performs a range of operations while working on {product-title}
10
-
ifdef::openshift-rosa[]
11
-
(ROSA)
12
-
endif::openshift-rosa[]
13
-
such as the following:
9
+
A user performs a range of operations while working on {product-title} such as the following:
14
10
15
11
* Managing clusters
16
12
* Building, deploying, and managing applications
17
13
* Managing deployment processes
18
14
* Creating and maintaining Operator catalogs
19
15
20
-
ifndef::openshift-rosa[]
21
-
{product-title}
22
-
endif::openshift-rosa[]
23
-
ifdef::openshift-rosa[]
24
-
ROSA
25
-
endif::openshift-rosa[]
26
-
offers a set of command-line interface (CLI) tools that simplify these tasks by enabling users to perform various administration and development operations from the terminal.
16
+
{product-title} offers a set of command-line interface (CLI) tools that simplify these tasks by enabling users to perform various administration and development operations from the terminal.
27
17
These tools expose simple commands to manage the applications, as well as interact with each component of the system.
28
18
29
19
[id="cli-tools-list"]
30
20
== List of CLI tools
31
21
32
-
The following set of CLI tools are available in
33
-
ifndef::openshift-rosa[]
34
-
{product-title}:
35
-
endif::openshift-rosa[]
36
-
ifdef::openshift-rosa[]
37
-
ROSA:
38
-
endif::openshift-rosa[]
22
+
The following set of CLI tools are available in {product-title}:
This is one of the more commonly used developer CLI tools.
46
30
endif::openshift-rosa[]
47
-
It helps both cluster administrators and developers to perform end-to-end operations across
48
-
ifndef::openshift-rosa[]
49
-
{product-title}
50
-
endif::openshift-rosa[]
51
-
ifdef::openshift-rosa[]
52
-
ROSA
53
-
endif::openshift-rosa[]
54
-
using the terminal. Unlike the web console, it allows the user to work directly with the project source code using command scripts.
31
+
It helps both cluster administrators and developers to perform end-to-end operations across {product-title} using the terminal. Unlike the web console, it allows the user to work directly with the project source code using command scripts.
55
32
56
33
* xref:../cli_reference/kn-cli-tools.adoc#kn-cli-tools[Knative CLI (kn)]: The Knative (`kn`) CLI tool provides simple and intuitive terminal commands that can be used to interact with OpenShift Serverless components, such as Knative Serving and Eventing.
57
34
@@ -60,5 +37,5 @@ using the terminal. Unlike the web console, it allows the user to work directly
60
37
* xref:../cli_reference/opm/cli-opm-install.adoc#cli-opm-install[opm CLI]: The `opm` CLI tool helps the Operator developers and cluster administrators to create and maintain the catalogs of Operators from the terminal.
61
38
62
39
ifdef::openshift-rosa,openshift-rosa-hcp[]
63
-
* xref:../cli_reference/rosa_cli/rosa-get-started-cli.adoc#rosa-get-started-cli[ROSA CLI (`rosa`)]: Use the `rosa` CLI to create, update, manage, and delete ROSA clusters and resources.
40
+
* xref:../cli_reference/rosa_cli/rosa-get-started-cli.adoc#rosa-get-started-cli[ROSA CLI (`rosa`)]: Use the `rosa` CLI to create, update, manage, and delete {product-title} clusters and resources.
Copy file name to clipboardExpand all lines: cli_reference/kn-cli-tools.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,4 +25,4 @@ Key features of the Knative CLI include:
25
25
[id="kn-cli-tools-installing-kn"]
26
26
== Installing the Knative CLI
27
27
28
-
See link:https://docs.openshift.com/serverless/1.28/install/installing-kn.html#installing-kn[Installing the Knative CLI].
28
+
See link:https://docs.redhat.com/en/documentation/red_hat_openshift_serverless/1.28/html/installing_serverless/installing-kn#installing-kn[Installing the Knative CLI].
Copy file name to clipboardExpand all lines: cli_reference/openshift_cli/usage-oc-kubectl.adoc
+6-54Lines changed: 6 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,46 +4,18 @@
4
4
include::_attributes/common-attributes.adoc[]
5
5
:context: usage-oc-kubectl
6
6
7
-
The Kubernetes command-line interface (CLI), `kubectl`, can be used to run commands against a Kubernetes cluster. Because {product-title}
8
-
ifdef::openshift-rosa,openshift-rosa-hcp[]
9
-
(ROSA)
10
-
endif::openshift-rosa,openshift-rosa-hcp[]
11
-
is a certified Kubernetes distribution, you can use the supported `kubectl` binaries that ship with
12
-
ifndef::openshift-rosa,openshift-rosa-hcp[]
13
-
{product-title}
14
-
endif::openshift-rosa,openshift-rosa-hcp[]
15
-
ifdef::openshift-rosa,openshift-rosa-hcp[]
16
-
ROSA
17
-
endif::openshift-rosa,openshift-rosa-hcp[]
18
-
, or you can gain extended functionality by using the `oc` binary.
7
+
The Kubernetes command-line interface (CLI), `kubectl`, can be used to run commands against a Kubernetes cluster. Because {product-title} is a certified Kubernetes distribution, you can use the supported `kubectl` binaries that ship with
8
+
{product-title}, or you can gain extended functionality by using the `oc` binary.
19
9
20
10
== The oc binary
21
11
22
12
The `oc` binary offers the same capabilities as the `kubectl` binary, but it extends to natively support additional
23
-
ifndef::openshift-rosa,openshift-rosa-hcp[]
24
-
{product-title}
25
-
endif::openshift-rosa,openshift-rosa-hcp[]
26
-
ifdef::openshift-rosa,openshift-rosa-hcp[]
27
-
ROSA
28
-
endif::openshift-rosa,openshift-rosa-hcp[]
29
-
features, including:
13
+
{product-title} features, including:
30
14
31
-
* **Full support for
32
-
ifndef::openshift-rosa,openshift-rosa-hcp[]
33
-
{product-title}
34
-
endif::openshift-rosa,openshift-rosa-hcp[]
35
-
ifdef::openshift-rosa,openshift-rosa-hcp[]
36
-
ROSA
37
-
endif::openshift-rosa,openshift-rosa-hcp[]
38
-
resources**
15
+
* **Full support for {product-title} resources**
39
16
+
40
17
Resources such as `DeploymentConfig`, `BuildConfig`, `Route`, `ImageStream`, and `ImageStreamTag` objects are specific to
41
-
ifndef::openshift-rosa,openshift-rosa-hcp[]
42
18
{product-title}
43
-
endif::openshift-rosa,openshift-rosa-hcp[]
44
-
ifdef::openshift-rosa,openshift-rosa-hcp[]
45
-
ROSA
46
-
endif::openshift-rosa,openshift-rosa-hcp[]
47
19
distributions, and build upon standard Kubernetes primitives.
. If you want the latest features, you must download and install the latest version of the `oc` binary corresponding to your
74
-
ifndef::openshift-rosa,openshift-rosa-hcp[]
75
43
{product-title}
76
44
endif::openshift-rosa,openshift-rosa-hcp[]
77
-
ifdef::openshift-rosa,openshift-rosa-hcp[]
78
-
ROSA
79
-
endif::openshift-rosa,openshift-rosa-hcp[]
80
-
server version.
45
+
. If you want the latest features, you must download and install the latest version of the `oc` binary corresponding to your {product-title} server version.
81
46
====
82
47
83
48
Non-security API changes will involve, at minimum, two minor releases (4.1 to 4.2 to 4.3, for example) to allow older `oc` binaries to update. Using new capabilities might require newer `oc` binaries. A 4.3 server might have additional capabilities that a 4.2 `oc` binary cannot use and a 4.3 `oc` binary might have additional capabilities that are unsupported by a 4.2 server.
@@ -109,20 +74,7 @@ image:redcircle-3.png[] `oc` client might provide options and features that migh
109
74
== The kubectl binary
110
75
111
76
The `kubectl` binary is provided as a means to support existing workflows and scripts for new
112
-
ifndef::openshift-rosa,openshift-rosa-hcp[]
113
-
{product-title}
114
-
endif::openshift-rosa,openshift-rosa-hcp[]
115
-
ifdef::openshift-rosa,openshift-rosa-hcp[]
116
-
ROSA
117
-
endif::openshift-rosa,openshift-rosa-hcp[]
118
-
users coming from a standard Kubernetes environment, or for those who prefer to use the `kubectl` CLI. Existing users of `kubectl` can continue to use the binary to interact with Kubernetes primitives, with no changes required to the
119
-
ifndef::openshift-rosa,openshift-rosa-hcp[]
120
-
{product-title}
121
-
endif::openshift-rosa,openshift-rosa-hcp[]
122
-
ifdef::openshift-rosa,openshift-rosa-hcp[]
123
-
ROSA
124
-
endif::openshift-rosa,openshift-rosa-hcp[]
125
-
cluster.
77
+
{product-title} users coming from a standard Kubernetes environment, or for those who prefer to use the `kubectl` CLI. Existing users of `kubectl` can continue to use the binary to interact with Kubernetes primitives, with no changes required to the {product-title} cluster.
126
78
127
79
You can install the supported `kubectl` binary by following the steps to xref:../../cli_reference/openshift_cli/getting-started-cli.adoc#cli-installing-cli_cli-developer-commands[Install the OpenShift CLI]. The `kubectl` binary is included in the archive if you download the binary, or is installed when you install the CLI by using an RPM.
You can create roles with permissions that adhere to the principal of least privilege, in which the users assigned the roles have no other permissions assigned to them outside the scope of the specific action they need to perform. These policies contain only the minimum required permissions needed to perform specific actions by using the {product-title} (ROSA) command-line interface (CLI).
8
+
You can create roles with permissions that adhere to the principal of least privilege, in which the users assigned the roles have no other permissions assigned to them outside the scope of the specific action they need to perform. These policies contain only the minimum required permissions needed to perform specific actions by using the {rosa-cli-first}.
9
9
10
10
[IMPORTANT]
11
11
====
@@ -20,11 +20,13 @@ Although the policies and commands presented in this topic will work in conjunct
20
20
21
21
For more information about configuring permissions, policies, and roles in the AWS console, see link:https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html[AWS Identity and Access Management] in the AWS documentation.
Managing objects with the {product-title} (ROSA) CLI, `rosa`, such as adding `dedicated-admin` users, managing clusters, and scheduling cluster upgrades.
10
+
Managing objects with the {rosa-cli-first}, such as adding `dedicated-admin` users, managing clusters, and scheduling cluster upgrades.
* See xref:../../networking/networking_operators/ingress-operator.adoc#configuring-ingress-controller[Configuring the Ingress Controller] for information regarding editing non-default application routers.
37
37
endif::openshift-rosa[]
38
-
//Classic to HCP breakout. Remove ROSA-specific conditionals when networking is added to HCP.
39
-
38
+
//Classic to HCP breakout. Remove ROSA-specific conditionals when networking is added to HCP.
= Managing billing accounts for ROSA with HCP clusters
4
+
= Managing billing accounts for {product-title} clusters
5
5
:context: rosa-updating-account-cli
6
6
toc::[]
7
7
@@ -12,7 +12,7 @@ This can be useful if you have accidentally linked to the wrong AWS billing acco
12
12
13
13
[NOTE]
14
14
====
15
-
You also have the option to update your billing account through the {cluster-manager}. For more information, see link:https://docs.redhat.com/en/documentation/openshift_cluster_manager/1-latest/html-single/managing_clusters/index#proc_updating-billing-accts-rosa-hcp_assembly-managing-clusters[Updating billing accounts for OpenShift Service on AWS Hosted Control Planes clusters.]
15
+
You also have the option to update your billing account through the {cluster-manager}. For more information, see link:https://docs.redhat.com/en/documentation/openshift_cluster_manager/1-latest/html-single/managing_clusters/index#proc_updating-billing-accts-rosa-hcp_assembly-managing-clusters[Updating billing accounts for {product-title} clusters.]
Contexts allow you to easily switch between multiple users across multiple
10
-
ifndef::openshift-rosa[]
11
-
{product-title}
12
-
endif::openshift-rosa[]
13
-
ifdef::openshift-rosa[]
14
-
ROSA
15
-
endif::openshift-rosa[]
16
-
servers, or clusters, when using CLI operations. Nicknames make managing CLI configurations easier by providing short-hand references to contexts, user credentials, and cluster details.
9
+
Contexts allow you to easily switch between multiple users across multiple {product-title} servers, or clusters, when using CLI operations. Nicknames make managing CLI configurations easier by providing short-hand references to contexts, user credentials, and cluster details.
17
10
After a user logs in with the `oc` CLI for the first time,
18
-
ifndef::openshift-rosa[]
19
-
{product-title}
20
-
endif::openshift-rosa[]
21
-
ifdef::openshift-rosa[]
22
-
ROSA
23
-
endif::openshift-rosa[]
24
-
creates a `~/.kube/config` file if one does not already exist. As more authentication and connection details are provided to the CLI, either automatically during an `oc login` operation or by manually configuring CLI profiles, the updated information is stored in the configuration file:
11
+
{product-title} creates a `~/.kube/config` file if one does not already exist. As more authentication and connection details are provided to the CLI, either automatically during an `oc login` operation or by manually configuring CLI profiles, the updated information is stored in the configuration file:
25
12
26
13
.CLI config file
27
14
@@ -58,13 +45,7 @@ users: <4>
58
45
----
59
46
60
47
<1> The `clusters` section defines connection details for
61
-
ifndef::openshift-rosa[]
62
-
{product-title}
63
-
endif::openshift-rosa[]
64
-
ifdef::openshift-rosa[]
65
-
ROSA
66
-
endif::openshift-rosa[]
67
-
clusters, including the address for their master server. In this example, one cluster is nicknamed `openshift1.example.com:8443` and another is nicknamed `openshift2.example.com:8443`.
48
+
{product-title} clusters, including the address for their master server. In this example, one cluster is nicknamed `openshift1.example.com:8443` and another is nicknamed `openshift2.example.com:8443`.
68
49
<2> This `contexts` section defines two contexts: one nicknamed `alice-project/openshift1.example.com:8443/alice`, using the `alice-project` project, `openshift1.example.com:8443` cluster, and `alice` user, and another nicknamed `joe-project/openshift1.example.com:8443/alice`, using the `joe-project` project, `openshift1.example.com:8443` cluster and `alice` user.
69
50
<3> The `current-context` parameter shows that the `joe-project/openshift1.example.com:8443/alice` context is currently in use, allowing the `alice` user to work in the `joe-project` project on the `openshift1.example.com:8443` cluster.
70
51
<4> The `users` section defines user credentials. In this example, the user nickname `alice/openshift1.example.com:8443` uses an access token.
0 commit comments