├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── main.yml ├── .gitignore ├── 02_03 ├── echo-server.yaml └── learning-resources-api.yaml ├── 02_04 └── frontend-ui.yaml ├── 03_01 ├── clusterip.yaml ├── externalname.yaml ├── frontend-ui-after.yaml ├── frontend-ui-before.yaml ├── loadbalancer.yaml └── nodeport.yaml ├── 03_02 ├── busybox.yaml └── learning-resources-api.yaml ├── 03_03 └── echo-server.yaml ├── 03_04 ├── busybox-ui.yaml └── frontend-ui.yaml ├── 03_05 └── challenge.yaml ├── 03_06 └── solution.yaml ├── 04_01 ├── allow-egress.yaml ├── allow-ingress.yaml └── deny-all.yaml ├── 04_02 └── ingress.yaml ├── CONTRIBUTING.md ├── LICENSE ├── NOTICE └── README.md /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Codeowners for these exercise files: 2 | # * (asterisk) denotes "all files and folders" 3 | # Example: * @producer @instructor 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 7 | 8 | ## Issue Overview 9 | 10 | 11 | ## Describe your environment 12 | 13 | 14 | ## Steps to Reproduce 15 | 16 | 1. 17 | 2. 18 | 3. 19 | 4. 20 | 21 | ## Expected Behavior 22 | 23 | 24 | ## Current Behavior 25 | 26 | 27 | ## Possible Solution 28 | 29 | 30 | ## Screenshots / Video 31 | 32 | 33 | ## Related Issues 34 | 35 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: Copy To Branches 2 | on: 3 | workflow_dispatch: 4 | jobs: 5 | copy-to-branches: 6 | runs-on: ubuntu-latest 7 | steps: 8 | - uses: actions/checkout@v2 9 | with: 10 | fetch-depth: 0 11 | - name: Copy To Branches Action 12 | uses: planetoftheweb/copy-to-branches@v1.2 13 | env: 14 | key: main 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | .tmp 4 | npm-debug.log 5 | -------------------------------------------------------------------------------- /02_03/echo-server.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: apps/v1 3 | kind: Deployment 4 | metadata: 5 | name: echo-server 6 | spec: 7 | replicas: 2 8 | selector: 9 | matchLabels: 10 | app: echo-server 11 | template: 12 | metadata: 13 | labels: 14 | app: echo-server 15 | spec: 16 | containers: 17 | - image: ealen/echo-server:latest 18 | imagePullPolicy: Always 19 | name: echo-server 20 | ports: 21 | - containerPort: 80 22 | env: 23 | - name: PORT 24 | value: "80" 25 | --- 26 | apiVersion: v1 27 | kind: Service 28 | metadata: 29 | name: echo-service 30 | spec: 31 | selector: 32 | app: echo-server 33 | type: NodePort 34 | ports: 35 | - name: echo 36 | port: 80 37 | targetPort: 80 38 | nodePort: 30076 39 | protocol: TCP -------------------------------------------------------------------------------- /02_03/learning-resources-api.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: apps/v1 3 | kind: Deployment 4 | metadata: 5 | name: learning-resources 6 | labels: 7 | app: learning-resources 8 | spec: 9 | replicas: 3 10 | selector: 11 | matchLabels: 12 | app: learning-resources 13 | template: 14 | metadata: 15 | labels: 16 | app: learning-resources 17 | spec: 18 | containers: 19 | - name: learning-resources-container 20 | image: kimschles/learning-resources:latest 21 | imagePullPolicy: Always 22 | ports: 23 | - containerPort: 3000 24 | env: 25 | - name: POD_NAME 26 | valueFrom: 27 | fieldRef: 28 | fieldPath: metadata.name 29 | - name: POD_NAMESPACE 30 | valueFrom: 31 | fieldRef: 32 | fieldPath: metadata.namespace 33 | - name: POD_IP 34 | valueFrom: 35 | fieldRef: 36 | fieldPath: status.podIP 37 | --- 38 | apiVersion: v1 39 | kind: Service 40 | metadata: 41 | name: learning-service 42 | labels: 43 | app: learning-resources 44 | spec: 45 | selector: 46 | app: learning-resources 47 | ports: 48 | - protocol: TCP 49 | port: 80 50 | targetPort: 3000 51 | type: ClusterIP -------------------------------------------------------------------------------- /02_04/frontend-ui.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Namespace 4 | metadata: 5 | name: frontend 6 | --- 7 | apiVersion: apps/v1 8 | kind: Deployment 9 | metadata: 10 | name: frontend 11 | namespace: frontend 12 | labels: 13 | app: frontend-ui 14 | spec: 15 | replicas: 3 16 | selector: 17 | matchLabels: 18 | app: frontend-ui 19 | template: 20 | metadata: 21 | labels: 22 | app: frontend-ui 23 | spec: 24 | containers: 25 | - name: frontend-container 26 | image: kimschles/frontend:latest 27 | imagePullPolicy: Always 28 | ports: 29 | - containerPort: 4173 30 | env: 31 | - name: PUBLIC_K8S_SERVICE_URL 32 | value: "http://learning-service.default.svc.cluster.local" 33 | --- 34 | apiVersion: v1 35 | kind: Service 36 | metadata: 37 | name: frontend-service 38 | namespace: frontend 39 | spec: 40 | selector: 41 | app: frontend-ui 42 | ports: 43 | - port: 80 44 | targetPort: 4173 45 | type: LoadBalancer -------------------------------------------------------------------------------- /03_01/clusterip.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: learning-service 6 | labels: 7 | app: learning-resources 8 | spec: 9 | selector: 10 | app: learning-resources 11 | ports: 12 | - protocol: TCP 13 | port: 80 14 | targetPort: 3000 15 | type: ClusterIP -------------------------------------------------------------------------------- /03_01/externalname.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: database-service 6 | namespace: prod 7 | spec: 8 | externalName: my.postgres.database.com 9 | type: ExternalName -------------------------------------------------------------------------------- /03_01/frontend-ui-after.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Namespace 4 | metadata: 5 | name: frontend 6 | --- 7 | apiVersion: apps/v1 8 | kind: Deployment 9 | metadata: 10 | name: frontend 11 | namespace: frontend 12 | labels: 13 | app: frontend-ui 14 | spec: 15 | replicas: 3 16 | selector: 17 | matchLabels: 18 | app: frontend-ui 19 | template: 20 | metadata: 21 | labels: 22 | app: frontend-ui 23 | spec: 24 | containers: 25 | - name: frontend-container 26 | image: kimschles/frontend:latest 27 | imagePullPolicy: Always 28 | ports: 29 | - containerPort: 4173 30 | env: 31 | - name: PUBLIC_K8S_SERVICE_URL 32 | value: "http://learning-service.default.svc.cluster.local" 33 | --- 34 | apiVersion: v1 35 | kind: Service 36 | metadata: 37 | name: frontend-service 38 | namespace: frontend 39 | spec: 40 | selector: 41 | app: frontend-ui 42 | ports: 43 | - port: 80 44 | targetPort: 4173 45 | type: LoadBalancer -------------------------------------------------------------------------------- /03_01/frontend-ui-before.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Namespace 4 | metadata: 5 | name: frontend 6 | --- 7 | apiVersion: apps/v1 8 | kind: Deployment 9 | metadata: 10 | name: frontend 11 | namespace: frontend 12 | labels: 13 | app: frontend-ui 14 | spec: 15 | replicas: 3 16 | selector: 17 | matchLabels: 18 | app: frontend-ui 19 | template: 20 | metadata: 21 | labels: 22 | app: frontend-ui 23 | spec: 24 | containers: 25 | - name: frontend-container 26 | image: kimschles/frontend:latest 27 | imagePullPolicy: Always 28 | ports: 29 | - containerPort: 4173 30 | env: 31 | - name: PUBLIC_K8S_SERVICE_URL 32 | value: value: "10.244.211.133:3000" 33 | --- 34 | apiVersion: v1 35 | kind: Service 36 | metadata: 37 | name: frontend-service 38 | namespace: frontend 39 | spec: 40 | selector: 41 | app: frontend-ui 42 | ports: 43 | - port: 80 44 | targetPort: 4173 45 | type: LoadBalancer -------------------------------------------------------------------------------- /03_01/loadbalancer.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: frontend 6 | namespace: frontend 7 | spec: 8 | selector: 9 | app: frontend-ui 10 | ports: 11 | - port: 80 12 | targetPort: 4173 13 | type: LoadBalancer -------------------------------------------------------------------------------- /03_01/nodeport.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: echo-service 6 | spec: 7 | selector: 8 | app: echo-server 9 | ports: 10 | - name: echo 11 | port: 80 12 | targetPort: 80 13 | nodePort: 30076 14 | protocol: TCP 15 | type: NodePort -------------------------------------------------------------------------------- /03_02/busybox.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: busybox 5 | namespace: default 6 | spec: 7 | containers: 8 | - name: busybox 9 | image: busybox:glibc 10 | command: 11 | - sleep 12 | - "3600" 13 | imagePullPolicy: IfNotPresent 14 | restartPolicy: Always -------------------------------------------------------------------------------- /03_02/learning-resources-api.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: apps/v1 3 | kind: Deployment 4 | metadata: 5 | name: learning-resources 6 | labels: 7 | app: learning-resources 8 | spec: 9 | replicas: 2 10 | selector: 11 | matchLabels: 12 | app: learning-resources 13 | template: 14 | metadata: 15 | labels: 16 | app: learning-resources 17 | spec: 18 | containers: 19 | - name: learning-resources-container 20 | image: kimschles/learning-resources:0.0.8 21 | imagePullPolicy: Always 22 | ports: 23 | - containerPort: 3000 24 | env: 25 | - name: POD_NAME 26 | valueFrom: 27 | fieldRef: 28 | fieldPath: metadata.name 29 | - name: POD_NAMESPACE 30 | valueFrom: 31 | fieldRef: 32 | fieldPath: metadata.namespace 33 | - name: POD_IP 34 | valueFrom: 35 | fieldRef: 36 | fieldPath: status.podIP 37 | --- 38 | apiVersion: v1 39 | kind: Service 40 | metadata: 41 | name: learning-service 42 | labels: 43 | app: learning-resources 44 | spec: 45 | selector: 46 | app: learning-resources 47 | ports: 48 | - protocol: TCP 49 | port: 80 50 | targetPort: 3000 51 | type: ClusterIP -------------------------------------------------------------------------------- /03_03/echo-server.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: apps/v1 3 | kind: Deployment 4 | metadata: 5 | name: echo-server 6 | spec: 7 | replicas: 2 8 | selector: 9 | matchLabels: 10 | app: echo-server 11 | template: 12 | metadata: 13 | labels: 14 | app: echo-server 15 | spec: 16 | containers: 17 | - image: ealen/echo-server:latest 18 | imagePullPolicy: Always 19 | name: echo-server 20 | ports: 21 | - containerPort: 80 22 | env: 23 | - name: PORT 24 | value: "80" 25 | --- 26 | apiVersion: v1 27 | kind: Service 28 | metadata: 29 | name: echo-service 30 | spec: 31 | selector: 32 | app: echo-server 33 | type: NodePort 34 | ports: 35 | - name: echo 36 | port: 80 37 | targetPort: 80 38 | nodePort: 30076 39 | protocol: TCP -------------------------------------------------------------------------------- /03_04/busybox-ui.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: busybox-ui 5 | namespace: frontend 6 | spec: 7 | containers: 8 | - name: busybox 9 | image: busybox:glibc 10 | command: 11 | - sleep 12 | - "3600" 13 | imagePullPolicy: IfNotPresent 14 | restartPolicy: Always -------------------------------------------------------------------------------- /03_04/frontend-ui.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Namespace 4 | metadata: 5 | name: frontend 6 | --- 7 | apiVersion: apps/v1 8 | kind: Deployment 9 | metadata: 10 | name: frontend 11 | namespace: frontend 12 | labels: 13 | app: frontend-ui 14 | spec: 15 | replicas: 3 16 | selector: 17 | matchLabels: 18 | app: frontend-ui 19 | template: 20 | metadata: 21 | labels: 22 | app: frontend-ui 23 | spec: 24 | containers: 25 | - name: frontend-container 26 | image: kimschles/frontend:latest 27 | imagePullPolicy: Always 28 | ports: 29 | - containerPort: 4173 30 | env: 31 | - name: PUBLIC_K8S_SERVICE_URL 32 | value: "http://learning-service.default.svc.cluster.local" 33 | --- 34 | apiVersion: v1 35 | kind: Service 36 | metadata: 37 | name: frontend-service 38 | namespace: frontend 39 | spec: 40 | selector: 41 | app: frontend-ui 42 | ports: 43 | - port: 80 44 | targetPort: 4173 45 | type: LoadBalancer -------------------------------------------------------------------------------- /03_05/challenge.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Namespace 4 | metadata: 5 | name: challenge 6 | --- 7 | apiVersion: apps/v1 8 | kind: Deployment 9 | metadata: 10 | name: nginx-deployment 11 | namespace: challenge 12 | spec: 13 | selector: 14 | matchLabels: 15 | app: nginx 16 | replicas: 2 17 | template: 18 | metadata: 19 | labels: 20 | app: nginx 21 | spec: 22 | containers: 23 | - name: nginx-container 24 | image: nginx:latest 25 | imagePullPolicy: Always 26 | ports: 27 | - containerPort: 80 28 | --- 29 | apiVersion: v1 30 | kind: Service 31 | metadata: 32 | name: nginx-service 33 | namespace: challenge 34 | labels: 35 | app: nginx-service 36 | spec: 37 | selector: 38 | # add pod label here 39 | ports: 40 | - protocol: TCP 41 | port: 80 42 | type: # add service type here 43 | 44 | -------------------------------------------------------------------------------- /03_06/solution.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Namespace 4 | metadata: 5 | name: challenge 6 | --- 7 | apiVersion: apps/v1 8 | kind: Deployment 9 | metadata: 10 | name: nginx-deployment 11 | namespace: challenge 12 | spec: 13 | selector: 14 | matchLabels: 15 | app: nginx 16 | replicas: 2 17 | template: 18 | metadata: 19 | labels: 20 | app: nginx 21 | spec: 22 | containers: 23 | - name: nginx-container 24 | image: nginx:latest 25 | imagePullPolicy: Always 26 | ports: 27 | - containerPort: 80 28 | --- 29 | apiVersion: v1 30 | kind: Service 31 | metadata: 32 | name: nginx-service 33 | namespace: challenge 34 | labels: 35 | app: nginx-service 36 | spec: 37 | selector: 38 | app: nginx 39 | ports: 40 | - protocol: TCP 41 | port: 80 42 | type: ClusterIP 43 | -------------------------------------------------------------------------------- /04_01/allow-egress.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | kind: NetworkPolicy 3 | apiVersion: networking.k8s.io/v1 4 | metadata: 5 | name: allow-egress 6 | namespace: frontend 7 | spec: 8 | podSelector: 9 | matchLabels: 10 | app: frontend-ui 11 | egress: 12 | - to: 13 | - ipBlock: 14 | cidr: 172.11.0.0/20 -------------------------------------------------------------------------------- /04_01/allow-ingress.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | kind: NetworkPolicy 3 | apiVersion: networking.k8s.io/v1 4 | metadata: 5 | name: allow-from-learning-resources 6 | spec: 7 | podSelector: 8 | matchLabels: 9 | app: echo-server 10 | ingress: 11 | - from: 12 | - podSelector: 13 | matchLabels: 14 | app: learning-resources 15 | ports: 16 | - port: 80 -------------------------------------------------------------------------------- /04_01/deny-all.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: networking.k8s.io/v1 3 | kind: NetworkPolicy 4 | metadata: 5 | name: deny-all 6 | spec: 7 | podSelector: {} 8 | policyTypes: 9 | - Ingress 10 | - Egress -------------------------------------------------------------------------------- /04_02/ingress.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: networking.k8s.io/v1 3 | kind: Ingress 4 | metadata: 5 | name: example-ingress 6 | annotations: 7 | nginx.ingress.kubernetes.io/rewrite-target: /$1 8 | spec: 9 | rules: 10 | - host: lil-microservices.com 11 | http: 12 | paths: 13 | - path: / 14 | pathType: Prefix 15 | backend: 16 | service: 17 | name: frontend-ui 18 | port: 19 | number: 8080 -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | Contribution Agreement 3 | ====================== 4 | 5 | This repository does not accept pull requests (PRs). All pull requests will be closed. 6 | 7 | However, if any contributions (through pull requests, issues, feedback or otherwise) are provided, as a contributor, you represent that the code you submit is your original work or that of your employer (in which case you represent you have the right to bind your employer). By submitting code (or otherwise providing feedback), you (and, if applicable, your employer) are licensing the submitted code (and/or feedback) to LinkedIn and the open source community subject to the BSD 2-Clause license. 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | LinkedIn Learning Exercise Files License Agreement 2 | ================================================== 3 | 4 | This License Agreement (the "Agreement") is a binding legal agreement 5 | between you (as an individual or entity, as applicable) and LinkedIn 6 | Corporation (“LinkedIn”). By downloading or using the LinkedIn Learning 7 | exercise files in this repository (“Licensed Materials”), you agree to 8 | be bound by the terms of this Agreement. If you do not agree to these 9 | terms, do not download or use the Licensed Materials. 10 | 11 | 1. License. 12 | - a. Subject to the terms of this Agreement, LinkedIn hereby grants LinkedIn 13 | members during their LinkedIn Learning subscription a non-exclusive, 14 | non-transferable copyright license, for internal use only, to 1) make a 15 | reasonable number of copies of the Licensed Materials, and 2) make 16 | derivative works of the Licensed Materials for the sole purpose of 17 | practicing skills taught in LinkedIn Learning courses. 18 | - b. Distribution. Unless otherwise noted in the Licensed Materials, subject 19 | to the terms of this Agreement, LinkedIn hereby grants LinkedIn members 20 | with a LinkedIn Learning subscription a non-exclusive, non-transferable 21 | copyright license to distribute the Licensed Materials, except the 22 | Licensed Materials may not be included in any product or service (or 23 | otherwise used) to instruct or educate others. 24 | 25 | 2. Restrictions and Intellectual Property. 26 | - a. You may not to use, modify, copy, make derivative works of, publish, 27 | distribute, rent, lease, sell, sublicense, assign or otherwise transfer the 28 | Licensed Materials, except as expressly set forth above in Section 1. 29 | - b. Linkedin (and its licensors) retains its intellectual property rights 30 | in the Licensed Materials. Except as expressly set forth in Section 1, 31 | LinkedIn grants no licenses. 32 | - c. You indemnify LinkedIn and its licensors and affiliates for i) any 33 | alleged infringement or misappropriation of any intellectual property rights 34 | of any third party based on modifications you make to the Licensed Materials, 35 | ii) any claims arising from your use or distribution of all or part of the 36 | Licensed Materials and iii) a breach of this Agreement. You will defend, hold 37 | harmless, and indemnify LinkedIn and its affiliates (and our and their 38 | respective employees, shareholders, and directors) from any claim or action 39 | brought by a third party, including all damages, liabilities, costs and 40 | expenses, including reasonable attorneys’ fees, to the extent resulting from, 41 | alleged to have resulted from, or in connection with: (a) your breach of your 42 | obligations herein; or (b) your use or distribution of any Licensed Materials. 43 | 44 | 3. Open source. This code may include open source software, which may be 45 | subject to other license terms as provided in the files. 46 | 47 | 4. Warranty Disclaimer. LINKEDIN PROVIDES THE LICENSED MATERIALS ON AN “AS IS” 48 | AND “AS AVAILABLE” BASIS. LINKEDIN MAKES NO REPRESENTATION OR WARRANTY, 49 | WHETHER EXPRESS OR IMPLIED, ABOUT THE LICENSED MATERIALS, INCLUDING ANY 50 | REPRESENTATION THAT THE LICENSED MATERIALS WILL BE FREE OF ERRORS, BUGS OR 51 | INTERRUPTIONS, OR THAT THE LICENSED MATERIALS ARE ACCURATE, COMPLETE OR 52 | OTHERWISE VALID. TO THE FULLEST EXTENT PERMITTED BY LAW, LINKEDIN AND ITS 53 | AFFILIATES DISCLAIM ANY IMPLIED OR STATUTORY WARRANTY OR CONDITION, INCLUDING 54 | ANY IMPLIED WARRANTY OR CONDITION OF MERCHANTABILITY OR FITNESS FOR A 55 | PARTICULAR PURPOSE, AVAILABILITY, SECURITY, TITLE AND/OR NON-INFRINGEMENT. 56 | YOUR USE OF THE LICENSED MATERIALS IS AT YOUR OWN DISCRETION AND RISK, AND 57 | YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE THAT RESULTS FROM USE OF THE 58 | LICENSED MATERIALS TO YOUR COMPUTER SYSTEM OR LOSS OF DATA. NO ADVICE OR 59 | INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM US OR THROUGH OR 60 | FROM THE LICENSED MATERIALS WILL CREATE ANY WARRANTY OR CONDITION NOT 61 | EXPRESSLY STATED IN THESE TERMS. 62 | 63 | 5. Limitation of Liability. LINKEDIN SHALL NOT BE LIABLE FOR ANY INDIRECT, 64 | INCIDENTAL, SPECIAL, PUNITIVE, CONSEQUENTIAL OR EXEMPLARY DAMAGES, INCLUDING 65 | BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS, GOODWILL, USE, DATA OR OTHER 66 | INTANGIBLE LOSSES . IN NO EVENT WILL LINKEDIN'S AGGREGATE LIABILITY TO YOU 67 | EXCEED $100. THIS LIMITATION OF LIABILITY SHALL: 68 | - i. APPLY REGARDLESS OF WHETHER (A) YOU BASE YOUR CLAIM ON CONTRACT, TORT, 69 | STATUTE, OR ANY OTHER LEGAL THEORY, (B) WE KNEW OR SHOULD HAVE KNOWN ABOUT 70 | THE POSSIBILITY OF SUCH DAMAGES, OR (C) THE LIMITED REMEDIES PROVIDED IN THIS 71 | SECTION FAIL OF THEIR ESSENTIAL PURPOSE; AND 72 | - ii. NOT APPLY TO ANY DAMAGE THAT LINKEDIN MAY CAUSE YOU INTENTIONALLY OR 73 | KNOWINGLY IN VIOLATION OF THESE TERMS OR APPLICABLE LAW, OR AS OTHERWISE 74 | MANDATED BY APPLICABLE LAW THAT CANNOT BE DISCLAIMED IN THESE TERMS. 75 | 76 | 6. Termination. This Agreement automatically terminates upon your breach of 77 | this Agreement or termination of your LinkedIn Learning subscription. On 78 | termination, all licenses granted under this Agreement will terminate 79 | immediately and you will delete the Licensed Materials. Sections 2-7 of this 80 | Agreement survive any termination of this Agreement. LinkedIn may discontinue 81 | the availability of some or all of the Licensed Materials at any time for any 82 | reason. 83 | 84 | 7. Miscellaneous. This Agreement will be governed by and construed in 85 | accordance with the laws of the State of California without regard to conflict 86 | of laws principles. The exclusive forum for any disputes arising out of or 87 | relating to this Agreement shall be an appropriate federal or state court 88 | sitting in the County of Santa Clara, State of California. If LinkedIn does 89 | not act to enforce a breach of this Agreement, that does not mean that 90 | LinkedIn has waived its right to enforce this Agreement. The Agreement does 91 | not create a partnership, agency relationship, or joint venture between the 92 | parties. Neither party has the power or authority to bind the other or to 93 | create any obligation or responsibility on behalf of the other. You may not, 94 | without LinkedIn’s prior written consent, assign or delegate any rights or 95 | obligations under these terms, including in connection with a change of 96 | control. Any purported assignment and delegation shall be ineffective. The 97 | Agreement shall bind and inure to the benefit of the parties, their respective 98 | successors and permitted assigns. If any provision of the Agreement is 99 | unenforceable, that provision will be modified to render it enforceable to the 100 | extent possible to give effect to the parties’ intentions and the remaining 101 | provisions will not be affected. This Agreement is the only agreement between 102 | you and LinkedIn regarding the Licensed Materials, and supersedes all prior 103 | agreements relating to the Licensed Materials. 104 | 105 | Last Updated: March 2019 106 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2024 LinkedIn Corporation 2 | All Rights Reserved. 3 | 4 | Licensed under the LinkedIn Learning Exercise File License (the "License"). 5 | See LICENSE in the project root for license information. 6 | 7 | Please note, this project may automatically load third party code from external 8 | repositories (for example, NPM modules, Composer packages, or other dependencies). 9 | If so, such third party code may be subject to other license terms than as set 10 | forth above. In addition, such third party code may also depend on and load 11 | multiple tiers of dependencies. Please review the applicable licenses of the 12 | additional dependencies. 13 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Kubernetes: Microservices 2 | This is the repository for the LinkedIn Learning course `Kubernetes: Microservices`. The full course is available from [LinkedIn Learning][lil-course-url]. 3 | 4 | ![Kubernetes: Microservices][lil-thumbnail-url] 5 | 6 | In this intermediate level course, technical curriculum developer Kim Schlesinger teaches you about Kubernetes networking and configuring service-to-service communication, which is critical for microservices in Kubernetes. Gain an understanding of the history of containers and Kubernetes. Find out how the platform was designed for microservices architectures. Get hands-on experience deploying three microservices to a cluster running locally, and then explore different ways of enabling service-to-service communication. Plus, explore advanced Kubernetes networking topics. 7 | 8 | ## Instructions 9 | 10 | This repository does not have any branches. Download the entire repository and you get the exercise files in their final state. 11 | 12 | Each folder corresponds with a movie with an exercise file. The naming convention is `CHAPTER#_MOVIE#`. As an example, the folder named `02_03` corresponds to the second chapter and the third video in that chapter. 13 | 14 | 15 | ## Installing 16 | 17 | 1. Clone this repository into your local machine using the terminal (Mac), CMD or PowerShell (Windows), or a GUI tool like SourceTree. 18 | - You can also download a ZIP file from Github and extract the contents to your machine. 19 | 1. Place the exercise files on your computer when you can easily access them. 20 | 1. To use these exercise files, you must have the following installed: 21 | - A code editor ([VS Code](https://code.visualstudio.com/) is recommended) 22 | - [Docker](https://docs.docker.com/engine/install/) 23 | - [minikube](https://minikube.sigs.k8s.io/docs/start/) 24 | 25 | 26 | ### Instructor 27 | 28 | **Kim Schlesinger** 29 | 30 | _Tech Educator_ 31 | 32 | Check out my other courses on [LinkedIn Learning](https://www.linkedin.com/learning/instructors/kim-schlesinger). 33 | 34 | [lil-course-url]: https://www.linkedin.com/learning/kubernetes-microservices-23787657 35 | [lil-thumbnail-url]: https://media.licdn.com/dms/image/D560DAQHj6_u-_V4BiA/learning-public-crop_675_1200/0/1713982644820?e=2147483647&v=beta&t=4NvoBXhtaV9AH1IAKdkIJtrlPsheDj6dWwme19Ii4PE 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 80 | --------------------------------------------------------------------------------