dc.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. apiVersion: v1
  2. kind: DeploymentConfig
  3. metadata:
  4. creationTimestamp: 2016-04-01T15:23:29Z
  5. labels:
  6. router: router
  7. name: router
  8. namespace: default
  9. resourceVersion: "1338477"
  10. selfLink: /oapi/v1/namespaces/default/deploymentconfigs/router
  11. uid: b00c7eba-f81d-11e5-809b-0a581f893e3f
  12. spec:
  13. replicas: 2
  14. selector:
  15. router: router
  16. strategy:
  17. resources: {}
  18. rollingParams:
  19. intervalSeconds: 1
  20. maxSurge: 0
  21. maxUnavailable: 25%
  22. timeoutSeconds: 600
  23. updatePercent: -25
  24. updatePeriodSeconds: 1
  25. type: Rolling
  26. template:
  27. metadata:
  28. creationTimestamp: null
  29. labels:
  30. router: router
  31. spec:
  32. containers:
  33. - env:
  34. - name: DEFAULT_CERTIFICATE
  35. - name: OPENSHIFT_CA_DATA
  36. value: |
  37. -----BEGIN CERTIFICATE-----
  38. MIIC5jCCAdCgAwIBAgIBATALBgkqhkiG9w0BAQswJjEkMCIGA1UEAwwbb3BlbnNo
  39. -----END CERTIFICATE-----
  40. - name: OPENSHIFT_CERT_DATA
  41. value: |
  42. -----BEGIN CERTIFICATE-----
  43. MIIDDTCCAfegAwIBAgIBCDALBgkqhkiG9w0BAQswJjEkMCIGA1UEAwwbb3BlbnNo
  44. -----END CERTIFICATE-----
  45. - name: OPENSHIFT_INSECURE
  46. value: "false"
  47. - name: OPENSHIFT_KEY_DATA
  48. value: |
  49. -----BEGIN RSA PRIVATE KEY-----
  50. MIIEogIBAAKCAQEA2lf49DrPHfCdCORcnIbmDVrx8yos7trjWdBvuledijyslRVR
  51. -----END RSA PRIVATE KEY-----
  52. - name: OPENSHIFT_MASTER
  53. value: https://internal.api.mwoodson.openshift.com
  54. - name: ROUTER_EXTERNAL_HOST_HOSTNAME
  55. - name: ROUTER_EXTERNAL_HOST_HTTPS_VSERVER
  56. - name: ROUTER_EXTERNAL_HOST_HTTP_VSERVER
  57. - name: ROUTER_EXTERNAL_HOST_INSECURE
  58. value: "false"
  59. - name: ROUTER_EXTERNAL_HOST_PARTITION_PATH
  60. - name: ROUTER_EXTERNAL_HOST_PASSWORD
  61. - name: ROUTER_EXTERNAL_HOST_PRIVKEY
  62. value: /etc/secret-volume/router.pem
  63. - name: ROUTER_EXTERNAL_HOST_USERNAME
  64. - name: ROUTER_SERVICE_NAME
  65. value: router
  66. - name: ROUTER_SERVICE_NAMESPACE
  67. value: default
  68. - name: STATS_PASSWORD
  69. value: ugCk6YBm4q
  70. - name: STATS_PORT
  71. value: "1936"
  72. - name: STATS_USERNAME
  73. value: admin
  74. image: openshift3/ose-haproxy-router:v3.1.1.6
  75. imagePullPolicy: IfNotPresent
  76. livenessProbe:
  77. httpGet:
  78. host: localhost
  79. path: /healthz
  80. port: 1936
  81. scheme: HTTP
  82. initialDelaySeconds: 10
  83. timeoutSeconds: 1
  84. name: router
  85. ports:
  86. - containerPort: 80
  87. hostPort: 80
  88. protocol: TCP
  89. - containerPort: 443
  90. hostPort: 443
  91. protocol: TCP
  92. - containerPort: 1936
  93. hostPort: 1936
  94. name: stats
  95. protocol: TCP
  96. readinessProbe:
  97. httpGet:
  98. host: localhost
  99. path: /healthz
  100. port: 1936
  101. scheme: HTTP
  102. timeoutSeconds: 1
  103. resources: {}
  104. terminationMessagePath: /dev/termination-log
  105. dnsPolicy: ClusterFirst
  106. hostNetwork: true
  107. nodeSelector:
  108. type: infra
  109. restartPolicy: Always
  110. securityContext: {}
  111. serviceAccount: router
  112. serviceAccountName: router
  113. terminationGracePeriodSeconds: 30
  114. triggers:
  115. - type: ConfigChange
  116. status:
  117. details:
  118. causes:
  119. - type: ConfigChange
  120. latestVersion: 12