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
Copy file name to clipboardExpand all lines: docs-source/spring/content/platform/intellij-plugin/_index.md
+56-12Lines changed: 56 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ See the Oracle Free Use Terms and Conditions [License](https://oss.oracle.com/li
35
35
36
36
### Proxy Configuration
37
37
38
-
If you are connecting to your Kubernetes cluster through a proxy server, configure your IntelliJ proxy settings from Settings -> Proxy. Th Oracle Backend for Microservices and AI will use your IntelliJ system proxy settings to connect to your Kubernetes cluster.
38
+
If you are connecting to your Kubernetes cluster through a proxy server, configure your IntelliJ proxy settings from Settings -> Proxy. The Oracle Backend for Microservices and AI will use your IntelliJ system proxy settings to connect to your Kubernetes cluster.
39
39
40
40
## Configuring the Oracle Backend for Microservices and AI Connection
41
41
@@ -78,6 +78,7 @@ Once you are connected to Oracle Backend for Microservices and AI, click on the
78
78
- Oracle Backend for Microservices and AI namespaces are shown in the "namespaces" section, each namespace containing a list of applications.
79
79
- Links to platform service dashboards are shown in the "platform services" section.
80
80
- Configuration properties are listed in the "configuration" section.
You can delete a namespace by right clicking on that namespace, and selecting "Delete Namespace". When a namespace is deleted, all applications in the namespace will also be deleted.
97
98
98
-
### Deploying workloads into namespaces
99
+
### Creating a datastore to bind workloads to the database
99
100
100
-
To deploy a workload into a namespace, right click that namespace and select "Add Workload -> Upload .jar" for JVM workloads or "Add Workload -> Upload .exec" for GraalVM native workloads.
101
+
All OBaaS workloads that connect to the database require a datastore reference, or binding. Each datastore represents an Oracle Database user, and one or more workloads may be bound to the same datastore.
101
102
102
-
On the Add Workload form, enter workload data.
103
-
- Database username will default to the workload name if not specified, and is used for Java Message Service Transactional Event Queue authentication.
103
+
To create a datastore, right click a namespace and click "Add Datastore".
104
104
105
-

105
+

106
106
107
-
When you click OK, the JAR/exec file will be uploaded to Oracle Backend for Microservices and AI, an image is built, and the workload deployed to the cluster namespace. The task duration will vary depending on the size of the upload file and your network connection for upload.
107
+
Enter a datastore ID, username, and password, and then click OK to create the datastore. The username and password must be valid for Oracle Database.
To create an autoscaler for a workload, right-click the workload and select "Create Autoscaler". Autoscalers are configured on workload CPU, and specify minimum and maximum scale replicas.
111
+
The new datastore `my-ds` should be visible as a red database icon in the `my-app` namespace. Once a datastore is created, you may right-click that datastore to delete it, or to update the datastore password. Note that password updates may require a workload restart to resume database connectivity.
When you click OK, the JAR or binary file will be uploaded to Oracle Backend for Microservices and AI, an image is built, and the workload deployed to the cluster namespace. The task duration will vary depending on the size of the upload file and your network connection for upload.
140
+
141
+
Once the task is complete, the workload will appear under the namespace it was created in. If you bound your workload to a datastore, an icon representing that binding will appear under the workload.
142
+
143
+

144
+
145
+
Once a workload has been created, it can be updated or deleted by right-clicking that workload and selecting "Update Workload" or "Delete Workload".
146
+
147
+
For Update, if you do not specify a new base image and workload artifact, only the workload's parameters, such as Replicas, will be updated.
148
+
149
+
### Autoscaling workloads
150
+
151
+
To create an autoscaler for a workload, right-click the workload and select "Autoscaling". Autoscalers are configured on the workload's percent CPU utilization, specifying minimum and maximum autoscaling replicas.
152
+
153
+
)
154
+
155
+
To update an autoscaler, click right-click a workload and select "Autoscaling" again. The same form will appear, allowing you to edit values. You may also delete a workload's autoscaler from the workload context menu.
116
156
117
157
### Publishing workloads
118
158
@@ -135,3 +175,7 @@ Once the connection is complete, click the "Open console" link on the completion
135
175
Workload configuration can be browsed and edited through the "configuration" section. To add a new configuration property, right-click either the top-level configuration section or a specific configuration node.
136
176
137
177
A property is associated with a given configuration service, and may have a label, profile, key, and value.
178
+
179
+
## Platform Images
180
+
181
+
Successfully created platform images can be browsed through the "platform images" section. These images are informational references to built images, not images from container registry.
0 commit comments