|
| 1 | +apiVersion: application.kubero.dev/v1alpha1 |
| 2 | +kind: KuberoApp |
| 3 | +metadata: |
| 4 | + creationTimestamp: "2023-01-07T07:59:02Z" |
| 5 | + finalizers: |
| 6 | + - helm.sdk.operatorframework.io/uninstall-release |
| 7 | + generation: 1 |
| 8 | + labels: |
| 9 | + manager: kubero |
| 10 | + name: trilium |
| 11 | + namespace: asdf-production |
| 12 | + resourceVersion: "10967026" |
| 13 | + uid: 2ec82049-89aa-4516-8901-fda9d4a1affb |
| 14 | +spec: |
| 15 | + addons: [] |
| 16 | + affinity: {} |
| 17 | + autodeploy: true |
| 18 | + autoscale: false |
| 19 | + autoscaling: |
| 20 | + enabled: false |
| 21 | + branch: main |
| 22 | + buildpack: custom |
| 23 | + cronjobs: [] |
| 24 | + deploymentstrategy: docker |
| 25 | + domain: trilium.lacolhost.com |
| 26 | + envVars: [] |
| 27 | + extraVolumes: |
| 28 | + - accessModes: |
| 29 | + - ReadWriteOnce |
| 30 | + emptyDir: false |
| 31 | + mountPath: /home/node/trilium-data |
| 32 | + name: example-volume |
| 33 | + size: 1Gi |
| 34 | + storageClass: standard |
| 35 | + fullnameOverride: "" |
| 36 | + gitrepo: |
| 37 | + admin: true |
| 38 | + clone_url: https://github.com/kubero-dev/template-nodeapp.git |
| 39 | + default_branch: main |
| 40 | + description: Simple example Node app |
| 41 | + homepage: "" |
| 42 | + id: 501665730 |
| 43 | + language: JavaScript |
| 44 | + name: template-nodeapp |
| 45 | + node_id: R_kgDOHebPwg |
| 46 | + owner: kubero-dev |
| 47 | + private: false |
| 48 | + push: true |
| 49 | + ssh_url: [email protected]:kubero-dev/template-nodeapp.git |
| 50 | + visibility: public |
| 51 | + image: |
| 52 | + build: |
| 53 | + command: npm install |
| 54 | + repository: node |
| 55 | + tag: latest |
| 56 | + containerPort: 8080 |
| 57 | + fetch: |
| 58 | + repository: ghcr.io/kubero-dev/buildpacks/fetch |
| 59 | + tag: main |
| 60 | + pullPolicy: Always |
| 61 | + repository: zadam/trilium |
| 62 | + run: |
| 63 | + command: node index.js |
| 64 | + repository: node |
| 65 | + tag: latest |
| 66 | + tag: latest |
| 67 | + imagePullSecrets: [] |
| 68 | + ingress: |
| 69 | + annotations: {} |
| 70 | + className: "" |
| 71 | + enabled: true |
| 72 | + hosts: |
| 73 | + - host: trilium.lacolhost.com |
| 74 | + paths: |
| 75 | + - path: / |
| 76 | + pathType: ImplementationSpecific |
| 77 | + tls: [] |
| 78 | + name: trilium |
| 79 | + nameOverride: "" |
| 80 | + nodeSelector: {} |
| 81 | + phase: production |
| 82 | + pipeline: asdf |
| 83 | + podAnnotations: {} |
| 84 | + podSecurityContext: {} |
| 85 | + podsize: |
| 86 | + default: true |
| 87 | + description: 'Small (CPU: 0.25, Memory: 0.5Gi)' |
| 88 | + name: small |
| 89 | + resources: |
| 90 | + limits: |
| 91 | + cpu: 500m |
| 92 | + memory: 1Gi |
| 93 | + requests: |
| 94 | + cpu: 250m |
| 95 | + memory: 0.5Gi |
| 96 | + replicaCount: 1 |
| 97 | + resources: |
| 98 | + limits: |
| 99 | + cpu: 500m |
| 100 | + memory: 1Gi |
| 101 | + requests: |
| 102 | + cpu: 250m |
| 103 | + memory: 0.5Gi |
| 104 | + service: |
| 105 | + port: 80 |
| 106 | + type: ClusterIP |
| 107 | + serviceAccount: |
| 108 | + annotations: {} |
| 109 | + create: true |
| 110 | + name: "" |
| 111 | + tolerations: [] |
| 112 | + web: |
| 113 | + autoscaling: |
| 114 | + maxReplicas: 3 |
| 115 | + minReplicas: 1 |
| 116 | + targetCPUUtilizationPercentage: 80 |
| 117 | + targetMemoryUtilizationPercentage: 80 |
| 118 | + replicaCount: 1 |
| 119 | + worker: |
| 120 | + autoscaling: |
| 121 | + maxReplicas: 0 |
| 122 | + minReplicas: 0 |
| 123 | + targetCPUUtilizationPercentage: 80 |
| 124 | + targetMemoryUtilizationPercentage: 80 |
| 125 | + replicaCount: 0 |
| 126 | +status: |
| 127 | + conditions: |
| 128 | + - lastTransitionTime: "2023-01-07T07:59:02Z" |
| 129 | + status: "True" |
| 130 | + type: Initialized |
| 131 | + - lastTransitionTime: "2023-01-07T07:59:03Z" |
| 132 | + message: | |
| 133 | + 1. Get the application URL by running these commands: |
| 134 | + http://trilium.lacolhost.com/ |
| 135 | + reason: InstallSuccessful |
| 136 | + status: "True" |
| 137 | + type: Deployed |
| 138 | + deployedRelease: |
| 139 | + manifest: | |
| 140 | + --- |
| 141 | + # Source: kuberoapp/templates/serviceaccount.yaml |
| 142 | + apiVersion: v1 |
| 143 | + kind: ServiceAccount |
| 144 | + metadata: |
| 145 | + name: trilium-kuberoapp |
| 146 | + labels: |
| 147 | + helm.sh/chart: kuberoapp-0.1.0 |
| 148 | + app.kubernetes.io/name: kuberoapp |
| 149 | + app.kubernetes.io/instance: trilium |
| 150 | + app.kubernetes.io/version: "1.16.0" |
| 151 | + app.kubernetes.io/managed-by: Helm |
| 152 | + --- |
| 153 | + # Source: kuberoapp/templates/pvc.yaml |
| 154 | + apiVersion: v1 |
| 155 | + kind: PersistentVolumeClaim |
| 156 | + metadata: |
| 157 | + name: example-volume |
| 158 | + spec: |
| 159 | + storageClassName: standard |
| 160 | + accessModes: |
| 161 | + - ReadWriteOnce |
| 162 | + resources: |
| 163 | + requests: |
| 164 | + storage: 1Gi |
| 165 | + --- |
| 166 | + # Source: kuberoapp/templates/service.yaml |
| 167 | + apiVersion: v1 |
| 168 | + kind: Service |
| 169 | + metadata: |
| 170 | + name: trilium-kuberoapp |
| 171 | + labels: |
| 172 | + helm.sh/chart: kuberoapp-0.1.0 |
| 173 | + app.kubernetes.io/name: kuberoapp |
| 174 | + app.kubernetes.io/instance: trilium |
| 175 | + app.kubernetes.io/version: "1.16.0" |
| 176 | + app.kubernetes.io/managed-by: Helm |
| 177 | + spec: |
| 178 | + type: ClusterIP |
| 179 | + ports: |
| 180 | + - port: 80 |
| 181 | + targetPort: http |
| 182 | + protocol: TCP |
| 183 | + name: http |
| 184 | + selector: |
| 185 | + app.kubernetes.io/name: kuberoapp |
| 186 | + app.kubernetes.io/instance: trilium-web |
| 187 | + --- |
| 188 | + # Source: kuberoapp/templates/deployment-web.yaml |
| 189 | + apiVersion: apps/v1 |
| 190 | + kind: Deployment |
| 191 | + metadata: |
| 192 | + name: trilium-kuberoapp-web |
| 193 | + labels: |
| 194 | + helm.sh/chart: kuberoapp-0.1.0 |
| 195 | + app.kubernetes.io/name: kuberoapp |
| 196 | + app.kubernetes.io/instance: trilium |
| 197 | + app.kubernetes.io/version: "1.16.0" |
| 198 | + app.kubernetes.io/managed-by: Helm |
| 199 | + spec: |
| 200 | + replicas: 1 |
| 201 | + selector: |
| 202 | + matchLabels: |
| 203 | + app.kubernetes.io/name: kuberoapp |
| 204 | + app.kubernetes.io/instance: trilium-web |
| 205 | + template: |
| 206 | + metadata: |
| 207 | + labels: |
| 208 | + app.kubernetes.io/name: kuberoapp |
| 209 | + app.kubernetes.io/instance: trilium-web |
| 210 | + spec: |
| 211 | + serviceAccountName: trilium-kuberoapp |
| 212 | + securityContext: |
| 213 | + {} |
| 214 | + containers: |
| 215 | + - name: kuberoapp-web |
| 216 | + securityContext: |
| 217 | + readOnlyRootFilesystem: true |
| 218 | + image: "zadam/trilium:latest" |
| 219 | + imagePullPolicy: Always |
| 220 | + env: |
| 221 | + - name: PROC_TYPE |
| 222 | + value: web |
| 223 | + - name: PORT |
| 224 | + value: "8080" |
| 225 | + ports: |
| 226 | + - name: http |
| 227 | + containerPort: 8080 |
| 228 | + protocol: TCP |
| 229 | + livenessProbe: |
| 230 | + httpGet: |
| 231 | + path: / |
| 232 | + port: http |
| 233 | + readinessProbe: |
| 234 | + httpGet: |
| 235 | + path: / |
| 236 | + port: http |
| 237 | + volumeMounts: |
| 238 | + - mountPath: /tmp |
| 239 | + name: tmp-storage |
| 240 | + readOnly: false |
| 241 | + - mountPath: /home/node/trilium-data |
| 242 | + name: example-volume |
| 243 | + resources: |
| 244 | + limits: |
| 245 | + cpu: 500m |
| 246 | + memory: 1Gi |
| 247 | + requests: |
| 248 | + cpu: 250m |
| 249 | + memory: 0.5Gi |
| 250 | + volumes: |
| 251 | + - name: deployment-keys |
| 252 | + secret: |
| 253 | + defaultMode: 0600 |
| 254 | + secretName: deployment-keys |
| 255 | + - name: app-storage |
| 256 | + emptyDir: {} |
| 257 | + - name: tmp-storage |
| 258 | + emptyDir: {} |
| 259 | + - name: example-volume |
| 260 | + persistentVolumeClaim: |
| 261 | + claimName: example-volume |
| 262 | + --- |
| 263 | + # Source: kuberoapp/templates/deployment-worker.yaml |
| 264 | + apiVersion: apps/v1 |
| 265 | + kind: Deployment |
| 266 | + metadata: |
| 267 | + name: trilium-kuberoapp-worker |
| 268 | + labels: |
| 269 | + helm.sh/chart: kuberoapp-0.1.0 |
| 270 | + app.kubernetes.io/name: kuberoapp |
| 271 | + app.kubernetes.io/instance: trilium |
| 272 | + app.kubernetes.io/version: "1.16.0" |
| 273 | + app.kubernetes.io/managed-by: Helm |
| 274 | + spec: |
| 275 | + replicas: 0 |
| 276 | + selector: |
| 277 | + matchLabels: |
| 278 | + app.kubernetes.io/name: kuberoapp |
| 279 | + app.kubernetes.io/instance: trilium-worker |
| 280 | + template: |
| 281 | + metadata: |
| 282 | + labels: |
| 283 | + app.kubernetes.io/name: kuberoapp |
| 284 | + app.kubernetes.io/instance: trilium-worker |
| 285 | + spec: |
| 286 | + serviceAccountName: trilium-kuberoapp |
| 287 | + securityContext: |
| 288 | + {} |
| 289 | + containers: |
| 290 | + - name: kuberoapp-worker |
| 291 | + securityContext: |
| 292 | + readOnlyRootFilesystem: true |
| 293 | + image: "zadam/trilium:latest" |
| 294 | + imagePullPolicy: Always |
| 295 | + env: |
| 296 | + - name: PROC_TYPE |
| 297 | + value: worker |
| 298 | + - name: PORT |
| 299 | + value: "8080" |
| 300 | + ports: |
| 301 | + - name: http |
| 302 | + containerPort: 8080 |
| 303 | + protocol: TCP |
| 304 | + volumeMounts: |
| 305 | + - mountPath: /tmp |
| 306 | + name: tmp-storage |
| 307 | + readOnly: false |
| 308 | + - mountPath: /home/node/trilium-data |
| 309 | + name: example-volume |
| 310 | + resources: |
| 311 | + limits: |
| 312 | + cpu: 500m |
| 313 | + memory: 1Gi |
| 314 | + requests: |
| 315 | + cpu: 250m |
| 316 | + memory: 0.5Gi |
| 317 | + volumes: |
| 318 | + - name: deployment-keys |
| 319 | + secret: |
| 320 | + defaultMode: 0600 |
| 321 | + secretName: deployment-keys |
| 322 | + - name: app-storage |
| 323 | + emptyDir: {} |
| 324 | + - name: tmp-storage |
| 325 | + emptyDir: {} |
| 326 | + - name: example-volume |
| 327 | + persistentVolumeClaim: |
| 328 | + claimName: example-volume |
| 329 | + --- |
| 330 | + # Source: kuberoapp/templates/ingress.yaml |
| 331 | + apiVersion: networking.k8s.io/v1 |
| 332 | + kind: Ingress |
| 333 | + metadata: |
| 334 | + name: trilium-kuberoapp |
| 335 | + labels: |
| 336 | + helm.sh/chart: kuberoapp-0.1.0 |
| 337 | + app.kubernetes.io/name: kuberoapp |
| 338 | + app.kubernetes.io/instance: trilium |
| 339 | + app.kubernetes.io/version: "1.16.0" |
| 340 | + app.kubernetes.io/managed-by: Helm |
| 341 | + spec: |
| 342 | + rules: |
| 343 | + - host: "trilium.lacolhost.com" |
| 344 | + http: |
| 345 | + paths: |
| 346 | + - path: / |
| 347 | + pathType: ImplementationSpecific |
| 348 | + backend: |
| 349 | + service: |
| 350 | + name: trilium-kuberoapp |
| 351 | + port: |
| 352 | + number: 80 |
| 353 | + name: trilium |
0 commit comments