Last active
September 20, 2019 14:37
-
-
Save col/47bed8987b20d4c2326db83b9e42209b to your computer and use it in GitHub Desktop.
Faktory K8s Deployment / Service Definitions (debugging only)
This file contains hidden or 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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
annotations: | |
deployment.kubernetes.io/revision: "3" | |
creationTimestamp: "2019-09-09T08:15:43Z" | |
generation: 3 | |
labels: | |
app.kubernetes.io/instance: faktory | |
app.kubernetes.io/managed-by: Tiller | |
app.kubernetes.io/name: faktory | |
helm.sh/chart: faktory-0.2.1 | |
name: faktory | |
namespace: mpp | |
resourceVersion: "58340906" | |
selfLink: /apis/extensions/v1beta1/namespaces/mpp/deployments/faktory | |
uid: 04ddf418-d2da-11e9-b4ab-42010afffa9a | |
spec: | |
progressDeadlineSeconds: 600 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app.kubernetes.io/instance: faktory | |
app.kubernetes.io/name: faktory | |
strategy: | |
type: Recreate | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app.kubernetes.io/instance: faktory | |
app.kubernetes.io/name: faktory | |
spec: | |
containers: | |
- command: | |
- /faktory | |
- -b | |
- :7419 | |
- -w | |
- :7420 | |
- -e | |
- production | |
env: | |
- name: FAKTORY_PASSWORD | |
value: password | |
image: contribsys/faktory:1.0.1 | |
imagePullPolicy: IfNotPresent | |
livenessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: /static | |
port: ui | |
scheme: HTTP | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
name: faktory | |
ports: | |
- containerPort: 7419 | |
name: commands | |
protocol: TCP | |
- containerPort: 7420 | |
name: ui | |
protocol: TCP | |
readinessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: /static | |
port: ui | |
scheme: HTTP | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/lib/faktory | |
name: data | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
volumes: | |
- name: data | |
persistentVolumeClaim: | |
claimName: faktory | |
status: | |
availableReplicas: 1 | |
conditions: | |
- lastTransitionTime: "2019-09-11T12:04:59Z" | |
lastUpdateTime: "2019-09-11T12:04:59Z" | |
message: Deployment has minimum availability. | |
reason: MinimumReplicasAvailable | |
status: "True" | |
type: Available | |
- lastTransitionTime: "2019-09-11T12:04:23Z" | |
lastUpdateTime: "2019-09-11T12:04:59Z" | |
message: ReplicaSet "faktory-864c6875d5" has successfully progressed. | |
reason: NewReplicaSetAvailable | |
status: "True" | |
type: Progressing | |
observedGeneration: 3 | |
readyReplicas: 1 | |
replicas: 1 | |
updatedReplicas: 1 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
creationTimestamp: "2019-09-09T08:15:43Z" | |
labels: | |
app.kubernetes.io/instance: faktory | |
app.kubernetes.io/managed-by: Tiller | |
app.kubernetes.io/name: faktory | |
helm.sh/chart: faktory-0.2.1 | |
name: faktory | |
namespace: mpp | |
resourceVersion: "57409330" | |
selfLink: /api/v1/namespaces/mpp/services/faktory | |
uid: 04dcc6df-d2da-11e9-b4ab-42010afffa9a | |
spec: | |
clusterIP: 10.250.151.166 | |
ports: | |
- name: commands | |
port: 7419 | |
protocol: TCP | |
targetPort: commands | |
- name: ui | |
port: 80 | |
protocol: TCP | |
targetPort: ui | |
selector: | |
app.kubernetes.io/instance: faktory | |
app.kubernetes.io/name: faktory | |
sessionAffinity: None | |
type: ClusterIP | |
status: | |
loadBalancer: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment