Info | ||
---|---|---|
| ||
|
개요
Info | |||||
---|---|---|---|---|---|
|
사전조건
Info |
---|
|
Git Clone
Code Block |
---|
sansae@workspace-win10:/mnt/c/apps/myworks$ git clone https://github.com/Sanses/pinpoint-kubernetes.git Cloning into 'pinpoint-kubernetes'... remote: Enumerating objects: 145, done. remote: Counting objects: 100% (145/145), done. remote: Compressing objects: 100% (93/93), done. remote: Total 145 (delta 76), reused 99 (delta 44), pack-reused 0 Receiving objects: 100% (145/145), 28.00 KiB | 1.87 MiB/s, done. Resolving deltas: 100% (76/76), done. sansae@workspace-win10:/mnt/c/apps/myworks$ sansae@workspace-win10:/mnt/c/apps/myworks$ cd pinpoint-kubernetes/ sansae@workspace-win10:/mnt/c/apps/myworks/pinpoint-kubernetes$ ls -al total 12 drwxrwxrwx 1 sansae sansae 4096 Oct 14 13:33 . drwxrwxrwx 1 sansae sansae 4096 Oct 14 13:33 .. drwxrwxrwx 1 sansae sansae 4096 Oct 14 13:33 .git -rwxrwxrwx 1 sansae sansae 169 Oct 14 13:33 .gitignore -rwxrwxrwx 1 sansae sansae 11358 Oct 14 13:33 LICENSE -rwxrwxrwx 1 sansae sansae 59 Oct 14 13:33 README.md drwxrwxrwx 1 sansae sansae 4096 Oct 14 13:33 pinpoint |
Add Repository for Dependency
Info |
---|
> $ helm repo add gradiant https://gradiant.github.io/charts |
Deploy Pinpoint
Info |
---|
> $ helm dependency update . |
Uninstall Pinpoint
Info |
---|
> $ helm uninstall [Release Name] -n [Namespace] |
Guide for Dockerfile & k8s manifests
Info | ||||
---|---|---|---|---|
| ||||
FROM openjdk:11-jre-slim RUN groupadd appgroup && useradd -G appgroup appuser ENV TZ=Asia/Seoul COPY target/*.jar /app/app.jar COPY pinpoint/pinpoint-agent-2.2.2.tar.gz /app/pinpoint-agent-2.2.2.tar.gz COPY shell/invoke.sh /app/invoke.sh ENTRYPOINT /bin/bash /app/invoke.sh |
Info | ||||
---|---|---|---|---|
| ||||
apiVersion: v1 APPLICATION_NAME: micro-app |
Info | ||||
---|---|---|---|---|
| ||||
apiVersion : apps/v1 envFrom: |
Info | ||||
---|---|---|---|---|
| ||||
#!/bin/bash |