-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 1551: Release 32 - stablility improvment and open source LI…
…CENSE validation Feature List - All in One Dev-Conatiner Image - k8s mode improvements - Applicatoin Insight data point improvments Related work items: #1390, #1703, #1756, #1770, #1783, #1784, #1792, #1793, #1795, #1831, #1834, #1836, #1837
- Loading branch information
Showing
345 changed files
with
13,760 additions
and
4,889 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
.vscode/ | ||
.idea/ | ||
smartide.msi | ||
*.deb |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: smartide/v0.3 | ||
orchestrator: | ||
type: allinone | ||
version: 3 | ||
workspace: | ||
dev-container: | ||
service-name: smartide-vmlc-vscode-go-dev | ||
|
||
ports: | ||
tools-webide-vscode: 6800 | ||
tools-ssh: 6822 | ||
apps-application: 1313 | ||
ide-type: vscode | ||
|
||
volumes: | ||
git-config: true | ||
ssh-key: true | ||
command: | ||
- git submodule update --init --recursive | ||
- cd docs | ||
- npm install | ||
- hugo server --bind 0.0.0.0 --disableFastRender --forceSyncStatic --buildDrafts --buildFuture | ||
|
||
kube-deploy-files: "vscode-vmlc-k8s-deployment.yaml" | ||
docker-compose-file: "vscode-vmlc-docker-compose.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: smartide/v0.3 | ||
orchestrator: | ||
type: allinone | ||
version: 3 | ||
workspace: | ||
dev-container: | ||
service-name: smartide-vscode-go-dev | ||
|
||
ports: | ||
tools-webide-vscode: 6800 | ||
tools-ssh: 6822 | ||
apps-application: 1313 | ||
ide-type: vscode | ||
|
||
volumes: | ||
git-config: true | ||
ssh-key: true | ||
command: | ||
- git submodule update --init --recursive | ||
- cd docs | ||
- npm install | ||
- hugo server --bind 0.0.0.0 --disableFastRender --forceSyncStatic --buildDrafts --buildFuture | ||
|
||
kube-deploy-files: "vscode-k8s-deployment.yaml" | ||
docker-compose-file: "vscode-docker-compose.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
version: "3" | ||
services: | ||
smartide-vscode-go-dev: | ||
image: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-golang-v2-vscode:latest | ||
hostname: dev-container | ||
restart: always | ||
environment: | ||
LOCAL_USER_PASSWORD: root123 | ||
volumes: | ||
- .:/home/project | ||
ports: | ||
- 6822:22 | ||
- 6800:3000 | ||
- 1313:1313 | ||
networks: | ||
- smartide-network | ||
|
||
networks: | ||
smartide-network: | ||
external: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
--- | ||
|
||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: smartide-vscode-go-dev | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
boathouse-calculator.service: smartide-vscode-go | ||
strategy: | ||
type: Recreate | ||
template: | ||
metadata: | ||
labels: | ||
boathouse-calculator.service: smartide-vscode-go | ||
spec: | ||
containers: | ||
- env: | ||
- name: LOCAL_USER_PASSWORD | ||
value: root123 | ||
image: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-golang-v2-vscode:latest | ||
imagePullPolicy: Always | ||
name: smartide-vscode-go-dev | ||
ports: | ||
- containerPort: 3000 | ||
- containerPort: 22 | ||
- containerPort: 1313 | ||
|
||
resources: | ||
requests: | ||
memory: "1Gi" | ||
cpu: "500m" | ||
limits: | ||
memory: "1Gi" | ||
cpu: "500m" | ||
status: {} | ||
|
||
--- | ||
|
||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: smartide-vscode-go-service | ||
spec: | ||
ports: | ||
- name: "6800" | ||
port: 6800 | ||
targetPort: 3000 | ||
- name: "6822" | ||
port: 6822 | ||
targetPort: 22 | ||
- name: "1313" | ||
port: 1313 | ||
targetPort: 1313 | ||
selector: | ||
boathouse-calculator.service: smartide-vscode-go | ||
status: | ||
loadBalancer: {} | ||
|
||
--- | ||
|
||
apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: smartide-vscode-go-network | ||
spec: | ||
ingress: | ||
- from: | ||
- podSelector: | ||
matchLabels: | ||
smartide-vscode-go/smartide-network: "true" | ||
podSelector: | ||
matchLabels: | ||
smartide-vscode-go/smartide-network: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
version: "3" | ||
services: | ||
smartide-vmlc-vscode-go-dev: | ||
image: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-golang-v2-vscode-vmlc:latest | ||
runtime: sysbox-runc | ||
hostname: dev-container | ||
restart: always | ||
environment: | ||
LOCAL_USER_PASSWORD: root123 | ||
volumes: | ||
- .:/home/project | ||
ports: | ||
- 6822:22 | ||
- 6800:3000 | ||
- 1313:3000 | ||
networks: | ||
- smartide-network | ||
|
||
networks: | ||
smartide-network: | ||
external: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
|
||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: smartide-vmlc-vscode-go-dev | ||
annotations: | ||
io.kubernetes.cri-o.userns-mode: "auto:size=65536" | ||
labels: | ||
smartide-go.service: smartide-go | ||
spec: | ||
runtimeClassName: sysbox-runc | ||
containers: | ||
- env: | ||
- name: LOCAL_USER_PASSWORD | ||
value: root123 | ||
name: smartide-vmlc-vscode-go-dev | ||
image: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-golang-v2-vscode-vmlc:latest | ||
command: ["/sbin/init"] | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 3000 | ||
- containerPort: 22 | ||
- containerPort: 1313 | ||
resources: | ||
requests: | ||
memory: "2Gi" | ||
cpu: "2000m" | ||
limits: | ||
memory: "4Gi" | ||
cpu: "3000m" | ||
|
||
|
||
--- | ||
|
||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: smartide-vmlc-vscode-go-dev | ||
spec: | ||
ports: | ||
- name: "6800" | ||
port: 6800 | ||
targetPort: 3000 | ||
- name: "6822" | ||
port: 6822 | ||
targetPort: 22 | ||
- name: "1313" | ||
port: 1313 | ||
targetPort: 1313 | ||
selector: | ||
smartide-go.service: smartide-go | ||
status: | ||
loadBalancer: {} | ||
|
||
--- | ||
|
||
apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: smartide-go-network | ||
spec: | ||
ingress: | ||
- from: | ||
- podSelector: | ||
matchLabels: | ||
smartide-go/smartide-network: "true" | ||
podSelector: | ||
matchLabels: | ||
smartide-go/smartide-network: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.