Skip to content

Commit 1b48e81

Browse files
authored
Merge pull request #54029 from ShaunaDiaz/OSDOCS-4706-v2
OSDOCS-4706-v2 update Architecture section k8s APIs
2 parents a1294ca + ccb2f1e commit 1b48e81

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

modules/microshift-k8s-apis.adoc

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,4 @@
66
[id="microshift-k8s-apis_{context}"]
77
= {product-title} Kubernetes APIs
88

9-
{product-title} supports the following standard Kubernetes APIs:
10-
11-
NOTE: TABLE IS FOR PLACEMENT ONLY (FPO)
12-
13-
[cols="1,1",options="header"]
14-
|===
15-
^| API ^| API group
16-
| xref:../microshift_rest_api/network_apis/route-route-openshift-io-v1.adoc#route-route-openshift-io-v1[Route]
17-
| route.openshift.io/v1
18-
| xref:../microshift_rest_api/security_apis/securitycontextconstraints-security-openshift-io-v1.adoc#securitycontextconstraints-security-openshift-io-v1[SecurityContextConstraints]
19-
| security.openshift.io/v1
20-
|===
21-
22-
//FIXME: Links are broken, table is incorrectly displaying
9+
The Kubernetes API is fully accessible within {product-title} and can be managed with the `kubectl` command-line tool or the {OCP} CLI tool (`oc`). The `oc` binary is compatible with `kubectl` and offers a set of features that can be used with {product-title}. Installing both tools to use with {product-title} can help you access all of the resources you need to work with your deployments.

modules/microshift-openshift-apis.adoc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:_content-type: CONCEPT
66
[id="microshift-openshift-apis_{context}"]
7-
= MicroShift OpenShift APIs
7+
= {product-title} OpenShift APIs
88

99
In addition to the standard Kubernetes APIs, {product-title} includes a subset of the APIs supported by {OCP}.
1010

@@ -16,3 +16,19 @@ In addition to the standard Kubernetes APIs, {product-title} includes a subset o
1616
| xref:../microshift_rest_api/security_apis/securitycontextconstraints-security-openshift-io-v1.adoc#securitycontextconstraints-security-openshift-io-v1[SecurityContextConstraints]
1717
| security.openshift.io/v1
1818
|===
19+
20+
When you use the {OCP} CLI tool (`oc`) to make a request call against an unsupported API, the `oc` binary can generate an error message about a resource that cannot be found.
21+
22+
.Example output
23+
24+
[source, terminal]
25+
----
26+
$ oc new-project test
27+
Error from server (NotFound): the server could not find the requested resource (get projectrequests.project.openshift.io)
28+
----
29+
30+
[source, terminal]
31+
----
32+
$ oc get projects
33+
error: the server doesn't have a resource type "projects"
34+
----

0 commit comments

Comments
 (0)