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: README.md
+50-43Lines changed: 50 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ OpenShift Connector extension provides an end-to-end developer experience for Re
14
14
15
15
This extension can work with local or remote OpenShift clusters.
16
16
17
-
To start local instance of OpenShift cluster, developers can use the following options:
17
+
To provision local instance of OpenShift cluster, developers can use the following options:
18
18
*[CodeReadyContainers](https://cloud.redhat.com/openshift/install/crc/installer-provisioned) - run single node local OpenShift 4.x cluster
19
19
*[minishift](https://github.com/minishift/minishift/releases) / [CDK](https://developers.redhat.com/products/cdk/download/) - run single node local OpenShift 3.x cluster
20
20
21
21
For detail analysis of how to setup and run local OpenShift Cluster using minishift, please follow this [wiki](https://github.com/redhat-developer/vscode-openshift-tools/wiki/Starting-Local-OpenShift-Instance).
22
22
23
-
If developers can not run local OpenShift cluster the extension can work with remote one from various Red Hat products:
23
+
If developers can't run OpenShift cluster locally, the extension can work with remote one provisioned with one of Red Hat products:
24
24
*[Red Hat OpenShift Container Platform](https://www.openshift.com/products/container-platform) - build, deploy and manage your applications across cloud- and on-premise infrastructure
25
25
*[Red Hat OpenShift Dedicated](https://www.openshift.com/products/dedicated/) - single-tenant, high-availability Kubernetes clusters in the public cloud
26
26
*[Microsoft Azure Red Hat OpenShift](https://www.openshift.com/products/azure-openshift) - fully managed Red Hat OpenShift service on Microsoft Azure
@@ -30,34 +30,21 @@ When working with [OpenShift Online](https://www.openshift.com/products/online/)
30
30
31
31
## New and Noteworthy
32
32
33
-
## All Required CLI Tools Included
34
-
35
-
This release includes binaries for all required CLI tools:
36
-
* OKD CLI Client (`oc`)
37
-
* OpenShift Do (`odo`)
38
-
Once extension is installed it is ready to use. There is no additional configuration steps to download CLI tools binaries.
39
-
40
-
### Debug Support for Local Node.js and Java Components
41
-
42
-
This release provides new 'OpenShift: Debug' command to simplify the way to start debugging for OpenShift Components pushed to a cluster. It is an experimental feature, because it is using experimental OpenShift Do `debug` command under the hood and supports only local Java and Node.js components. The command is available from command palette and context menu for Component nodes in OpenShift Application Explorer view.
43
-
44
-
#### Debug Node.js Component
45
-
46
-
Default Visual Studio Code installation includes JavaScript/TypeScript Language Support and Debugger Extensions required to debug a Node.js Component. That means new `OpenShift: Debug` command can be used without installing any additional extensions.
To debug a Java Component, Java Language Support and Java Debugger Extensions are required. OpenShift Connector extension will prompt the user to install missing extension(s) before it starts Debugger for a Java Component.
* Webview based viewers for `Show Log`, `Follow Log` and `Describe` commands for Component
35
+
* Terminals created with OpenShift commands have meaningful names for better navigation
36
+
* OpenShift Routes in k8s Clusters View have new command 'Open in Browser'
37
+
*`Describe` command for Component's URL
38
+
*`Describe` and `New Storage` commands for not pushed Components
39
+
*`New URL` command can create secured URLs for Component
55
40
56
41
## Commands and Features
57
42
58
43
`vs-openshift-connector` supports a number of commands & actions for interacting with OpenShift clusters; these are accessible via the command menu (`Cmd+Shift+P` <kbd>⌘⇧P</kbd> on macOS or `Ctrl+Shift+P` <kbd>⌃⇧P</kbd> on Windows and Linux) and may be bound to keys in the normal way.
59
44
60
-
### General Commands
45
+
### Commands Available in OpenShift Application Explorer View
46
+
47
+
#### Commands for Cluster
61
48
62
49
*`OpenShift: Log in to cluster` - Log in to your server and save login for subsequent use.
63
50
* Credentials : Log in to the given server with the given credentials.
@@ -71,7 +58,7 @@ To debug a Java Component, Java Language Support and Java Debugger Extensions ar
71
58
*`OpenShift: Open Console Dashboard` - Opens the OpenShift webconsole URL.
72
59
*`OpenShift: Create` - Creates an OpenShift resource using `.json` or `.yaml` file location from an active editor.
73
60
74
-
#### Actions Available for an OpenShift Cluster Project
61
+
#### Commands for a Project
75
62
76
63
*`Project -> New Component` - Create a new Component from the Project.
77
64
* git - Use a git repository as the source for the Component.
@@ -80,7 +67,7 @@ To debug a Java Component, Java Language Support and Java Debugger Extensions ar
80
67
*`Project -> New Service` - Perform Service Catalog operations when it is enabled.
81
68
*`Project -> Delete` - Delete an existing Project.
82
69
83
-
#### Actions Available for an Application in a Project
70
+
#### Commands for an Application
84
71
85
72
*`Application -> New Component` - Create a new Component inside the selected Application.
86
73
* git - Use a git repository as the source for the Component.
@@ -90,15 +77,17 @@ To debug a Java Component, Java Language Support and Java Debugger Extensions ar
90
77
*`Application -> Describe` - Describe the given Application in terminal window.
91
78
*`Application -> Delete` - Delete an existing Application.
92
79
93
-
#### Actions Available for a Component in an Application
80
+
#### Commands for a Component
81
+
82
+
Components can be in 3 stages:
94
83
95
-
##### Components can be in 3 stages:
84
+
* pushed - When the components are deployed into the cluster.
85
+
* not pushed - When are the components are in local config but NOT deployed into the cluster.
86
+
* no context - When there is no context folder associated with the component in the workspace.
96
87
97
-
pushed - When the components are deployed into the cluster.
98
-
not pushed - When are the components are in local config but NOT deployed into the cluster.
99
-
no context - When there is no context folder associated with the component in the workspace.
88
+
Components in different states have different set of commands available.
100
89
101
-
####Actions for a Pushed Component
90
+
##### Command for a Pushed Component
102
91
103
92
*`Component -> New URL` - Expose Component to the outside world. The URLs that are generated using this command, can be used to access the deployed Components from outside the Cluster. Push the component to reflect the changes on the cluster.
104
93
*`Component -> New Storage` - Create Storage and mount to a Component. Push the component to reflect the changes on the cluster.
@@ -115,38 +104,54 @@ To debug a Java Component, Java Language Support and Java Debugger Extensions ar
115
104
*`Component -> Delete` - Delete an existing Component from the cluster and removes the local config also.
116
105
*`Component -> Debug` - Debug local Java or Node.js Component.
117
106
118
-
####Actions for a not Pushed Component
107
+
##### Commands for a not Pushed Component
119
108
120
109
*`Component -> New URL` - Expose Component to the outside world. The URLs that are generated using this command, can be used to access the deployed Components from outside the Cluster.
110
+
*`Component -> New Storage` - Create Storage and mount to a Component. Push the component to reflect the changes on the cluster.
111
+
*`Component -> Describe` - Describe the given Component in terminal window.
121
112
*`Component -> Push` - Push the source code to a Component.
122
113
*`Component -> Delete` - Delete an existing Component from the local config.
123
114
124
-
####Actions for a no context Component
115
+
##### Commands for a no context Component
125
116
126
117
*`Component -> Describe` - Describe the given Component in terminal window.
127
-
*`Component -> Delete` - Delete an existing Component from the local config.
128
118
*`Component -> Import` - If the component was created using old version of the extension (`<=0.0.23`), users can use the `Import` action to migrate to latest version and import the metadata changes.
119
+
*`Component -> Delete` - Delete an existing Component from the local config.
129
120
130
-
####Actions available for a URL in a Component
121
+
##### Commands for a URL in a Component
131
122
132
123
*`URL -> Delete` - Delete a URL from a Component.
133
124
*`URL -> Open URL` - Click on the icon opens the specific URL in Browser.
134
125
*`URL -> Describe` - Describe the given URL for the component in terminal window.
135
126
136
-
137
-
#### Actions available for a Storage in a Component
127
+
##### Commands for a Storage
138
128
139
129
*`Storage -> Delete` - Delete a Storage from a Component.
140
130
141
-
142
-
#### Actions available for a Service in an Application
131
+
##### Commands for a Service
143
132
144
133
*`Service -> Describe` - Describe a Service Type for a selected Component
145
134
*`Service -> Delete` - Delete a Service from an Application
146
135
147
136
**NOTE:** Currently we support creation of one component per folder. Multiple components from a folder might be supported in future releases.
148
137
149
-
#### Icons Representation
138
+
#### Debug Support for Local Node.js and Java Components
139
+
140
+
'OpenShift: Debug' command simplifies the way to start debugging for OpenShift Components pushed to a cluster. It is an experimental feature, because it is using experimental OpenShift Do `debug` command under the hood and supports only local Java and Node.js components. The command is available from command palette and context menu for Component nodes in OpenShift Application Explorer view.
141
+
142
+
##### Debug Node.js Component
143
+
144
+
Default Visual Studio Code installation includes JavaScript/TypeScript Language Support and Debugger Extensions required to debug a Node.js Component. That means new `OpenShift: Debug` command can be used without installing any additional extensions.
To debug a Java Component, Java Language Support and Java Debugger Extensions are required. OpenShift Connector extension will prompt the user to install missing extension(s) before it starts Debugger for a Java Component.
## Icons for OpenShift Application Explorer View Items
150
155
151
156
<div><imgsrc="https://raw.githubusercontent.com/redhat-developer/vscode-openshift-tools/master/images/title/readme/icon-login.png"width="15"height="15" /><spanstyle="margin: 20px">Log in to Cluster</span></div>
*`OpenShift Connector: Show Channel On Output` - Show OpenShift Connector output channel when new text added to output stream
166
171
*`OpenShift Connector: Output verbosity level` - Output verbosity level (value between 0 and 9) for OpenShift Create, Push and Watch commands in output channel and terminal view
172
+
*`OpenShift Connector: Search CLI tools in PATH locations before using included binaries` - Force extension to search for `oc` and `odo` CLI tools in PATH locations before using bundled binaries
173
+
*`OpenShift Connector: Use Webview based editors to show 'Show Log', 'Follow Log' and 'Describe' commands output` - Use Webview based editors instead of Terminal view to show or follow logs
0 commit comments