Skip to content

Commit

Permalink
优化说明
Browse files Browse the repository at this point in the history
  • Loading branch information
lipangeng committed Aug 5, 2020
1 parent 32248fd commit 13fde8f
Showing 1 changed file with 49 additions and 4 deletions.
53 changes: 49 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,55 @@

#### 使用说明

1. xxxx
2. xxxx
3. xxxx

```
apiVersion: apps/v1
kind: Deployment
metadata:
name: demo
spec:
selector:
matchLabels:
name: demo
template:
metadata:
name: demo
labels:
name: demo
spec:
initContainers:
- name: skywalking-init
image: lipangeng/skywalking-initcontainer:7.0.0
imagePullPolicy: Always
volumeMounts:
- mountPath: /opt/skywalking
name: skywalking
containers:
- name: demo
image: tomcat
imagePullPolicy: Always
resources:
limits:
memory: 1Gi
ports:
- containerPort: 8080
name: http
protocol: TCP
env:
- name: TZ
value: Asia/Shanghai
- name: JAVA_TOOL_OPTIONS
value: -javaagent:/opt/skywalking/skywalking-agent.jar
- name: SW_AGENT_NAME
value: demo
- name: SW_AGENT_COLLECTOR_BACKEND_SERVICES
value: skywalking-aop.skywalking:11800
volumeMounts:
- mountPath: /opt/skywalking
name: skywalking
volumes:
- name: skywalking
emptyDir: {}
```
#### 参与贡献

1. Fork 本仓库
Expand Down

0 comments on commit 13fde8f

Please sign in to comment.