Created
December 11, 2018 11:19
-
-
Save viniciuschiele/5a1a7e27eee3987c415432fcfda68e7a to your computer and use it in GitHub Desktop.
drone.deployment.yaml
This file contains 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: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
annotations: | |
deployment.kubernetes.io/revision: "2" | |
field.cattle.io/publicEndpoints: '[{"addresses":["xx.xx.xx.xx"],"port":80,"protocol":"HTTP","serviceName":"devops:drone","ingressName":"devops:drone","hostname":"drone.devops.xx.xx.xx.xx.xip.io","path":"/","allNodes":true},{"addresses":["xx.xx.xx.xx"],"port":443,"protocol":"HTTPS","serviceName":"devops:drone","ingressName":"devops:drone","hostname":"drone.devops.xx.xx.xx.xx.xip.io","path":"/","allNodes":true}]' | |
creationTimestamp: 2018-12-11T11:12:15Z | |
generation: 3 | |
labels: | |
app: drone | |
chart: drone-2.0.0 | |
component: server | |
heritage: Tiller | |
release: drone | |
name: drone-server | |
namespace: devops | |
resourceVersion: "1234930" | |
selfLink: /apis/apps/v1beta2/namespaces/devops/deployments/drone-server | |
uid: 9d89e44e-fd35-11e8-a53b-90b8d0415286 | |
spec: | |
progressDeadlineSeconds: 600 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app: drone | |
component: server | |
release: drone | |
strategy: | |
rollingUpdate: | |
maxSurge: 1 | |
maxUnavailable: 1 | |
type: RollingUpdate | |
template: | |
metadata: | |
annotations: | |
checksum/secrets: 0a3621bee81477df717178a92ce410608318c348a129680731a54721e9eb92ae | |
creationTimestamp: null | |
labels: | |
app: drone | |
component: server | |
release: drone | |
spec: | |
containers: | |
- env: | |
- name: DRONE_KUBERNETES_ENABLED | |
value: "true" | |
- name: DRONE_RPC_SECRET | |
valueFrom: | |
secretKeyRef: | |
key: secret | |
name: drone | |
- name: DRONE_KUBERNETES_SERVICE_ACCOUNT | |
value: default | |
- name: DRONE_KUBERNETES_NAMESPACE | |
value: devops | |
- name: DRONE_TLS_AUTOCERT | |
value: "false" | |
- name: DRONE_RPC_SERVER | |
value: drone | |
- name: DRONE_RPC_HOST | |
value: drone.devops.xx.xx.xx.xx.xip.io | |
- name: DRONE_RPC_PROTO | |
value: http | |
- name: DRONE_SERVER_HOST | |
value: drone.devops.xx.xx.xx.xx.xip.io | |
- name: DRONE_SERVER_PROTO | |
value: http | |
- name: DRONE_DATABASE_DATASOURCE | |
value: /var/lib/drone/drone.sqlite | |
- name: DRONE_DATABASE_DRIVER | |
value: sqlite3 | |
- name: DRONE_GITHUB_CLIENT_ID | |
value: xxxxxxxxxx | |
- name: DRONE_GITHUB_CLIENT_SECRET | |
value: xxxxxxxxxx | |
- name: DRONE_GITHUB_SERVER | |
value: https://github.com | |
- name: DRONE_LOGS_DEBUG | |
value: "true" | |
image: docker.io/drone/drone:1.0.0-rc.2 | |
imagePullPolicy: Always | |
livenessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: / | |
port: http | |
scheme: HTTP | |
initialDelaySeconds: 60 | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
name: drone-server | |
ports: | |
- containerPort: 80 | |
name: http | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/lib/drone | |
name: data | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
terminationGracePeriodSeconds: 30 | |
volumes: | |
- name: data | |
persistentVolumeClaim: | |
claimName: drone | |
status: | |
availableReplicas: 1 | |
conditions: | |
- lastTransitionTime: 2018-12-11T11:12:15Z | |
lastUpdateTime: 2018-12-11T11:12:15Z | |
message: Deployment has minimum availability. | |
reason: MinimumReplicasAvailable | |
status: "True" | |
type: Available | |
- lastTransitionTime: 2018-12-11T11:12:15Z | |
lastUpdateTime: 2018-12-11T11:17:29Z | |
message: ReplicaSet "drone-server-87c6d8bcb" has successfully progressed. | |
reason: NewReplicaSetAvailable | |
status: "True" | |
type: Progressing | |
observedGeneration: 3 | |
readyReplicas: 1 | |
replicas: 1 | |
updatedReplicas: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment