Skip to content

Commit

Permalink
Merge pull request #11 from nautible/release/2023.1
Browse files Browse the repository at this point in the history
Release/2023.1
  • Loading branch information
ogis-yamanaka authored Apr 3, 2023
2 parents e3ee3b1 + b0f303d commit bb8a3b3
Show file tree
Hide file tree
Showing 40 changed files with 568 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nautible
Copyright 2021 OGIS-RI Co.,Ltd.
71 changes: 71 additions & 0 deletions nautible-app-examples-manifest-go/base/examples-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-go
namespace: nautible-app-examples
labels:
app.kubernetes.io/name: nautible-app-examples-go
app.kubernetes.io/instance: nautible-app-examples-go
app.kubernetes.io/version: 1.0.0
app.kubernetes.io/component: app
app.kubernetes.io/part-of: nautible
app.kubernetes.io/managed-by: manual
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/instance: nautible-app-examples-go
app.kubernetes.io/component: app
template:
metadata:
labels:
app.kubernetes.io/name: nautible-app-examples-go
app.kubernetes.io/instance: nautible-app-examples-go
app.kubernetes.io/version: 1.0.0
app.kubernetes.io/component: app
app.kubernetes.io/part-of: nautible
app.kubernetes.io/managed-by: manual
spec:
securityContext:
runAsUser: 65534
containers:
- name: nautible-app-examples-go
image: public.ecr.aws/nautible/nautible-app-examples-go:dummy
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
capabilities:
drop:
- all
volumeMounts:
- mountPath: /tmp
name: tmp-nautible-app-examples-mount
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
ports:
- name: http
protocol: TCP
containerPort: 8080
livenessProbe:
httpGet:
port: 8080
path: /healthz
failureThreshold: 10
periodSeconds: 30
readinessProbe:
httpGet:
port: 8080
path: /healthz
failureThreshold: 10
periodSeconds: 30
volumes:
- name: tmp-nautible-app-examples-mount
hostPath:
path: /tmp
20 changes: 20 additions & 0 deletions nautible-app-examples-manifest-go/base/examples-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: nautible-app-examples-go
namespace: nautible-app-examples
labels:
app.kubernetes.io/name: nautible-app-examples-go
app.kubernetes.io/instance: nautible-app-examples-go
app.kubernetes.io/version: 1.0.0
app.kubernetes.io/component: app
app.kubernetes.io/part-of: nautible
app.kubernetes.io/managed-by: manual
spec:
selector:
app.kubernetes.io/instance: nautible-app-examples-go
app.kubernetes.io/component: app
ports:
- name: http-nautible-app-examples-port
port: 8080
targetPort: 8080
3 changes: 3 additions & 0 deletions nautible-app-examples-manifest-go/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resources:
- examples-deployment.yaml
- examples-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-go
namespace: nautible-app-examples
spec:
template:
spec:
containers:
- name: nautible-app-examples-go
image: public.ecr.aws/nautible/nautible-app-examples-go:ee6cce6463b1b34971a334e74306931830bbc170
env:
- name: LOG_LEVEL # DEBUG, INFO, WARN, ERROR, DPANIC, PANIC, FATAL
value: INFO
- name: LOG_FORMAT # json, console
value: json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bases:
- ../../../base
patchesStrategicMerge:
- examples-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-go
namespace: nautible-app-examples
spec:
replicas: 1
template:
spec:
containers:
- name: nautible-app-examples-go
imagePullPolicy: Never
env:
- name: LOG_LEVEL # DEBUG, INFO, WARN, ERROR, DPANIC, PANIC, FATAL
value: DEBUG
- name: LOG_FORMAT # json, console
value: console
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bases:
- ../../../base
patchesStrategicMerge:
- examples-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-go
namespace: nautible-app-examples
spec:
template:
spec:
containers:
- name: nautible-app-examples-go
image: nautibledevacr.azurecr.io/nautible-app-examples-go:ee6cce6463b1b34971a334e74306931830bbc170
env:
- name: LOG_LEVEL # DEBUG, INFO, WARN, ERROR, DPANIC, PANIC, FATAL
value: INFO
- name: LOG_FORMAT # json, console
value: json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bases:
- ../../../base
patchesStrategicMerge:
- examples-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-go
namespace: nautible-app-examples
spec:
replicas: 1
template:
spec:
containers:
- name: nautible-app-examples-go
image: nautibledevacr.azurecr.io/nautible-app-examples-go:latest
imagePullPolicy: Never
env:
- name: LOG_LEVEL # DEBUG, INFO, WARN, ERROR, DPANIC, PANIC, FATAL
value: DEBUG
- name: LOG_FORMAT # json, console
value: console
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bases:
- ../../../base
patchesStrategicMerge:
- examples-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kind: Deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-java
namespace: nautible-app-examples
Expand All @@ -8,7 +8,7 @@ spec:
spec:
containers:
- name: nautible-app-examples-java
image: public.ecr.aws/nautible/nautible-app-examples-java:33103131e7618396c031497aaa3a78a02f945687
image: public.ecr.aws/nautible/nautible-app-examples-java:ee6cce6463b1b34971a334e74306931830bbc170
env:
- name: QUARKUS_PROFILE
value: aws-dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ spec:
containers:
- name: nautible-app-examples-java
imagePullPolicy: Never
env:
- name: QUARKUS_PROFILE
value: aws-local-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-java
namespace: nautible-app-examples
spec:
template:
spec:
containers:
- name: nautible-app-examples-java
image: nautibledevacr.azurecr.io/nautible-app-examples-java:ee6cce6463b1b34971a334e74306931830bbc170
env:
- name: QUARKUS_PROFILE
value: azure-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bases:
- ../../../base
patchesStrategicMerge:
- examples-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-java
namespace: nautible-app-examples
spec:
replicas: 1
template:
spec:
containers:
- name: nautible-app-examples-java
image: nautibledevacr.azurecr.io/nautible-app-examples-java:latest
imagePullPolicy: Never
env:
- name: QUARKUS_PROFILE
value: azure-local-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bases:
- ../../../base
patchesStrategicMerge:
- examples-deployment.yaml
71 changes: 71 additions & 0 deletions nautible-app-examples-manifest-node/base/examples-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-node
namespace: nautible-app-examples
labels:
app.kubernetes.io/name: nautible-app-examples-node
app.kubernetes.io/instance: nautible-app-examples-node
app.kubernetes.io/version: 1.0.0
app.kubernetes.io/component: app
app.kubernetes.io/part-of: nautible
app.kubernetes.io/managed-by: manual
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/instance: nautible-app-examples-node
app.kubernetes.io/component: app
template:
metadata:
labels:
app.kubernetes.io/name: nautible-app-examples-node
app.kubernetes.io/instance: nautible-app-examples-node
app.kubernetes.io/version: 1.0.0
app.kubernetes.io/component: app
app.kubernetes.io/part-of: nautible
app.kubernetes.io/managed-by: manual
spec:
securityContext:
runAsUser: 65534
containers:
- name: nautible-app-examples-node
image: public.ecr.aws/nautible/nautible-app-examples-node:dummy
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
capabilities:
drop:
- all
volumeMounts:
- mountPath: /tmp
name: tmp-nautible-app-examples-mount
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
ports:
- name: http
protocol: TCP
containerPort: 8080
livenessProbe:
httpGet:
port: 8080
path: /healthz
failureThreshold: 10
periodSeconds: 30
readinessProbe:
httpGet:
port: 8080
path: /healthz
failureThreshold: 10
periodSeconds: 30
volumes:
- name: tmp-nautible-app-examples-mount
hostPath:
path: /tmp
20 changes: 20 additions & 0 deletions nautible-app-examples-manifest-node/base/examples-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: nautible-app-examples-node
namespace: nautible-app-examples
labels:
app.kubernetes.io/name: nautible-app-examples-node
app.kubernetes.io/instance: nautible-app-examples-node
app.kubernetes.io/version: 1.0.0
app.kubernetes.io/component: app
app.kubernetes.io/part-of: nautible
app.kubernetes.io/managed-by: manual
spec:
selector:
app.kubernetes.io/instance: nautible-app-examples-node
app.kubernetes.io/component: app
ports:
- name: http-nautible-app-examples-port
port: 8080
targetPort: 8080
3 changes: 3 additions & 0 deletions nautible-app-examples-manifest-node/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resources:
- examples-deployment.yaml
- examples-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-node
namespace: nautible-app-examples
spec:
template:
spec:
containers:
- name: nautible-app-examples-node
image: public.ecr.aws/nautible/nautible-app-examples-node:ee6cce6463b1b34971a334e74306931830bbc170
env:
- name: LOG_LEVEL # error, warn, info, verbose, debug
value: info
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bases:
- ../../../base
patchesStrategicMerge:
- examples-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nautible-app-examples-node
namespace: nautible-app-examples
spec:
replicas: 1
template:
spec:
containers:
- name: nautible-app-examples-node
imagePullPolicy: Never
env:
- name: LOG_LEVEL # error, warn, info, verbose, debug
value: debug
Loading

0 comments on commit bb8a3b3

Please sign in to comment.