Skip to content

Commit 7a209b2

Browse files
Merge branch 'main' into dependabot/pip/cloud-infrastructure/ai-infra-gpu/ai-infrastructure/bionemo/alphafold2-oke/jinja2-3.1.6
2 parents f4b571b + 9fba55e commit 7a209b2

File tree

37 files changed

+1805
-134
lines changed

37 files changed

+1805
-134
lines changed

app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ docker build -t fra.ocir.io/<YOUR OCI TENANCY NAMESPACE>/helloworld-java:1
118118
</pre>
119119

120120
In the docker build command above replace the <code>region</code> if necessary and the <code>&lt;YOUR OCI TENANCY NAMESPACE&gt;</code> with yours.
121-
122121
<p>
123122

124123
After building let's do <code>docker login</code> and <code>docker push</code> to push the container to the OCIR repo:
@@ -130,6 +129,16 @@ docker login ams.ocir.io -u '&lt;YOUR OCI TENANCY NAMESPACE&gt;/oracleidentitycl
130129
docker push fra.ocir.io/&lt;YOUR OCI TENANCY NAMESPACE&gt;/helloworld-java:1
131130
</pre>
132131

132+
<p>
133+
The same as above but using OCI cli to get the &lt;YOUR OCI TENANCY NAMESPACE&gt; which is especially handy in scripting:
134+
135+
<pre>
136+
export namespace=$(oci os ns get | jq .data | tr -d '"')
137+
docker build -t fra.ocir.io/$namespace/helloworld-java:1 .
138+
docker push fra.ocir.io/$namespace/helloworld-java:1
139+
</pre>
140+
141+
<p>
133142
The last step is to create the Function Application and the function deployment for it. This can be easily done using the Cloud UI.
134143

135144
<p>

app-dev/devops-and-containers/oke/oke-policies/policies.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ ALLOW any-user to manage public-ips in TENANCY where ALL {request.principal.type
128128

129129

130130

131-
### ATTACH NSGs WHEN THEY ARE IN DIFFERENT COMPARTMENTS THAN OKE
131+
### ATTACH NSGs WHEN THEY ARE IN DIFFERENT COMPARTMENT THAN OKE
132132

133133
[https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringloadbalancersnetworkloadbalancers-subtopic.htm#contengcreatingloadbalancer\_topic\_Specifying\_Load\_Balancer\_Network\_Security\_Group](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringloadbalancersnetworkloadbalancers-subtopic.htm#contengcreatingloadbalancer_topic_Specifying_Load_Balancer_Network_Security_Group)
134134

@@ -144,3 +144,21 @@ Allow any-user to use network-security-groups in compartment <network-compartmen
144144
ALLOW any-user to manage volume-backups in compartment <compartment-name> where request.principal.type = 'cluster'
145145
ALLOW any-user to use volumes in compartment <compartment-name> where request.principal.type = 'cluster'
146146
```
147+
148+
### PROVISION A PVC ON A NEW FILE SYSTEM USING THE CSI VOLUME PLUGIN
149+
150+
[https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingpersistentvolumeclaim_Provisioning_PVCs_on_FSS.htm#contengcreatingpersistentvolumeclaim_topic-Provisioning_PVCs_on_FSS-Using-CSI-Volume-Plugin](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingpersistentvolumeclaim_Provisioning_PVCs_on_FSS.htm#contengcreatingpersistentvolumeclaim_topic-Provisioning_PVCs_on_FSS-Using-CSI-Volume-Plugin)
151+
152+
Cluster will need policies to create a new file system and to handle network resources:
153+
154+
```
155+
ALLOW any-user to manage file-family in compartment <oke-compartment-name> where request.principal.type = 'cluster'
156+
ALLOW any-user to use virtual-network-family in compartment <oke-compartment-name> where request.principal.type = 'cluster'
157+
```
158+
159+
If the compartment to which a node pool, worker node subnet, file system, or mount target belongs, is different to the compartment to which a cluster belongs, IAM policies must exist to enable the CSI volume plugin to access the appropriate location.
160+
161+
```
162+
ALLOW any-user to manage file-family in TENANCY where request.principal.type = 'cluster'
163+
ALLOW any-user to use virtual-network-family in TENANCY where request.principal.type = 'cluster'
164+
```
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Copyright (c) 2025 Oracle and/or its affiliates.
2+
3+
The Universal Permissive License (UPL), Version 1.0
4+
5+
Subject to the condition set forth below, permission is hereby granted to any
6+
person obtaining a copy of this software, associated documentation and/or data
7+
(collectively the "Software"), free of charge and under any and all copyright
8+
rights in the Software, and any and all patent rights owned or freely
9+
licensable by each licensor hereunder covering either (i) the unmodified
10+
Software as contributed to or provided by such licensor, or (ii) the Larger
11+
Works (as defined below), to deal in both
12+
13+
(a) the Software, and
14+
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
15+
one is included with the Software (each a "Larger Work" to which the Software
16+
is contributed by such licensors),
17+
18+
without restriction, including without limitation the rights to copy, create
19+
derivative works of, display, perform, and distribute the Software and make,
20+
use, sell, offer for sale, import, export, have made, and have sold the
21+
Software and the Larger Work(s), and to sublicense the foregoing rights on
22+
either these or other terms.
23+
24+
This license is subject to the following condition:
25+
The above copyright notice and either this complete permission notice or at
26+
a minimum a reference to the UPL must be included in all copies or
27+
substantial portions of the Software.
28+
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35+
SOFTWARE.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Red Hat OpenShift on Oracle Cloud Infrastructure: Solution Definition Document
2+
3+
This repository provides a comprehensive guide for deploying the Red Hat OpenShift Container Platform on Oracle Cloud Infrastructure (OCI). It outlines a high-level solution definition, including deployment architecture and the migration process for containerized workloads from an existing OpenShift environment—whether on-premises or in another cloud. The document captures the current state architecture, requirements, and a prospective state, along with potential project scope and anticipated timelines for implementation.
4+
5+
Reviewed: 11.04.2025
6+
7+
# When to use this asset?
8+
9+
This document is a critical resource for individuals and organizations planning to deploy Red Hat OpenShift on Oracle Cloud Infrastructure. It is particularly useful for:
10+
11+
- Migrating containerized applications to a newly deployed OpenShift environment on OCI.
12+
- Greenfield implementations of Red Hat OpenShift on OCI.
13+
14+
# Instructions for Utilizing This Asset
15+
16+
This document serves as a template for defining your Red Hat OpenShift project solution. It includes:
17+
18+
- Example architecture diagrams that can be customized to reflect customer-specific requirements.
19+
- Guidance on defining project scope, timelines, and technical requirements.
20+
21+
# Conclusion
22+
23+
The Red Hat OpenShift platform on Oracle Cloud Infrastructure delivers a robust, scalable, and secure environment for containerized workloads. This Solution Definition Document is designed to serve as a definitive guide for your project. We encourage all stakeholders to provide feedback, ask questions, and contribute to ensure the success of the implementation.
24+
25+
# License
26+
27+
Copyright (c) 2025 Oracle and/or its affiliates.
28+
29+
Licensed under the Universal Permissive License (UPL), Version 1.0.
30+
31+
See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE) for more details.
32+

0 commit comments

Comments
 (0)