saurabh21316 commented on PR #478:
URL: https://github.com/apache/pulsar-manager/pull/478#issuecomment-1521146231
Hello Martin,
I am new to pulsar, since the v0.4.0 is not released yet, could you please
help with deploying it local with this fix or something you can point me out
to. I would really appreciate.
Here is an example of deployment
kind: Deployment
apiVersion: apps/v1
metadata:
name: pulsar-pulsar-manager
namespace: colony-events
labels:
app: pulsar
cluster: pulsar
component: pulsar-manager
release: pulsar
spec:
replicas: 1
selector:
matchLabels:
app: pulsar
component: pulsar-manager
release: pulsar
template:
metadata:
labels:
app: pulsar
cluster: pulsar
component: pulsar-manager
release: pulsar
spec:
volumes:
- name: pulsar-manager-data
emptyDir: {}
containers:
- name: pulsar-pulsar-manager
image: streamnative/pulsar-manager:v0.3.1-rc2
# image: apachepulsar/pulsar-manager:v0.3.0
ports:
- containerPort: 9527
protocol: TCP
- containerPort: 7750
protocol: TCP
envFrom:
- configMapRef:
name: pulsar-pulsar-manager
env:
- name: PULSAR_CLUSTER
value: pulsar
- name: USERNAME
valueFrom:
secretKeyRef:
name: pulsar-pulsar-manager-secret
key: PULSAR_MANAGER_ADMIN_USER
- name: PASSWORD
valueFrom:
secretKeyRef:
name: pulsar-pulsar-manager-secret
key: PULSAR_MANAGER_ADMIN_PASSWORD
- name: PULSAR_MANAGER_OPTS
value: $(PULSAR_MANAGER_OPTS) -Dlog4j2.formatMsgNoLookups=true
- name: SPRING_CONFIGURATION_FILE
value: "/pulsar-manager/pulsar-manager/application.properties"
resources:
limits:
cpu: 100m
memory: 250Mi
requests:
cpu: 100m
memory: 250Mi
volumeMounts:
- name: pulsar-manager-data
mountPath: /data
imagePullPolicy: IfNotPresent
restartPolicy: Always
terminationGracePeriodSeconds: 30
nodeSelector:
persistent-type: persistent
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]