Created
          May 15, 2017 00:44 
        
      - 
      
- 
        Save marcoceppi/dd3ff3206502e88c322e94462cc63d9c to your computer and use it in GitHub Desktop. 
  
    
      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: | |
| creationTimestamp: null | |
| labels: | |
| app: silph-tiles | |
| name: silph-tiles | |
| spec: | |
| replicas: 10 | |
| selector: | |
| matchLabels: | |
| app: silph-tiles | |
| strategy: {} | |
| minReadySeconds: 10 | |
| template: | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| app: silph-tiles | |
| version: 1494727578 | |
| spec: | |
| containers: | |
| - image: silph/silph-tile:v0 | |
| imagePullPolicy: Always | |
| name: silph-tiles | |
| ports: | |
| - containerPort: 80 | |
| volumeMounts: | |
| - mountPath: "/data" | |
| name: data | |
| volumes: | |
| - name: data | |
| persistentVolumeClaim: | |
| claimName: mbtilesv0 | |
| resources: {} | |
| restartPolicy: Always | |
| serviceAccountName: "" | |
| status: {} | |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: silph-tiles | |
| labels: | |
| app: silph-tiles | |
| spec: | |
| ports: | |
| - port: 80 | |
| protocol: TCP | |
| targetPort: 80 | |
| selector: | |
| app: silph-tiles | |
| --- | |
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: silph-tiles-ingress | |
| spec: | |
| rules: | |
| - host: tile.silph.io | |
| http: | |
| paths: | |
| - path: / | |
| backend: | |
| serviceName: silph-tiles | |
| servicePort: 80 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment