SlideShare a Scribd company logo
PKS Automation Station...All
Aboard: Enabling Team
Access to PKS with a
Concourse Pipeline
SpringOne Platform
October 8, 2019
2
Vaseeharan Seevaratnam
Platform Engineer
svasee
John Paice
Senior Platform Engineer
@johnny_platform
INTRODUCTIONS
3
• DSG’s Container Journey
• Challenges
• PKS Workloads
• Onboarding Prerequisites
• Demo!
AGENDA
4
• Monolith application to microservices
• Teams were were working in silos more collaborative
• Buy vs. Build
• Cloud Native
• Twelve Factor Apps
CONTAINER JOURNEY
5
Application Archaeology: Accelerating App Modernization at DICK’S
Sporting Goods
Today 4:20pm–5:30pm 16AB
Pivotal Vanguard Customer Deep Dive Expedition: Pearls of Wisdom
Wednesday 4:20pm–5:30pm. 17AB
Multi-cloud Deployments
Thursday. 9:15am Main Stage
#DSGTECH
6
• Team onboarding challenges
• Short SLAs
• Consistent results
• Snowflake effects
• Peer code review
• PKS Challenges
PLATFORM CHALLENGES
7
PKS WORKLOADS
• Not all applications fit the same mold
– Applications with custom containers
– Not twelve factor
– Applications that need persistent storage
• Kafka
• ELK
• RabbitMQ
8
• Infrastructure as a code
• Easy auditing
• Predefined access control
• Build repeatable PKS clusters
• No snowflakes of servers, all the configurations are version
controlled
• Minimal administration of the cluster
• Delegated access control
REQUIREMENTS
9
• Cloud Provider - vSphere, Azure, GCP, AWS
• Active Directory LDAP Integration for user access control
• Git as a source code repository
• Concourse pipeline
• PKS
SOLUTION
10
ACCESS WORKFLOW
Create and
configure
LDAP groups
Configure
UAA > LDAP
in the PKS tile
Map LDAP
group to UAA
scope using
UAAC
Create a
service user
account in
UAA
Log in to the PKS CLI
as a Cluster Admin
Run pks get-
credentials to
generate kubeconfig
Use kubectl to
create a Admin
ClusterRoleBinding
Run pks get-
kubeconfig
targeting the cluster
PKS CLI generates
kubeconfig
Use kubectl to
access the cluster
Operator
Concourse
PipelineDeveloper
PKS
INSTALL
PKS
CLUSTER
CREATION
PKSCLUSTER
DAYTODAY
ACTIVITY
11
ACCESS WORKFLOW
Create and
configure
LDAP groups
Configure
UAA > LDAP
in the PKS tile
Map LDAP
group to UAA
scope using
UAAC
Create a
service user
account in
UAA
Log in to the PKS CLI
as a Cluster Admin
Run pks get-
credentials to
generate kubeconfig
Use kubectl to
create a Admin
ClusterRoleBinding
Run pks get-
kubeconfig
targeting the cluster
PKS CLI generates
kubeconfig
Use kubectl to
access the cluster
Operator
Concourse
PipelineDeveloper
PKS
INSTALL
PKS
CLUSTER
CREATION
PKSCLUSTER
DAYTODAY
ACTIVITY
12
LDAP STRUCTURE
LDAP Groups and Uses structure for PKS
integration:
pks-managerpks-cluster-admin pks-cluster-ro
pksadmin@dsgtech.co pksreader@dsgtech.copksdeveloper@dsgtech.co
K8s
Operator
K8s
Developer
K8s
Viewer
13
ACCESS WORKFLOW
Create and
configure
LDAP groups
Configure
UAA > LDAP
in the PKS tile
Map LDAP
group to UAA
scope using
UAAC
Create a
service user
account in
UAA
Log in to the PKS CLI
as a Cluster Admin
Run pks get-
credentials to
generate kubeconfig
Use kubectl to
create a Admin
ClusterRoleBinding
Run pks get-
kubeconfig
targeting the cluster
PKS CLI generates
kubeconfig
Use kubectl to
access the cluster
Operator
Concourse
PipelineDeveloper
PKS
INSTALL
PKS
CLUSTER
CREATION
PKSCLUSTER
DAYTODAY
ACTIVITY
14
UAA CONFIGURATION
• Enable created clusters to use
UAA as the OIDC provider.
Login to Ops Manager and perform following
configurations on PKS UAA:
• Configure PKS UAA to use LDAP
Server as external authentication
mechanisms.
15
ACCESS WORKFLOW
Create and
configure
LDAP groups
Configure
UAA > LDAP
in the PKS tile
Map LDAP
group to UAA
scope using
UAAC
Create a
service user
account in
UAA
Log in to the PKS CLI
as a Cluster Admin
Run pks get-
credentials to
generate kubeconfig
Use kubectl to
create a Admin
ClusterRoleBinding
Run pks get-
kubeconfig
targeting the cluster
PKS CLI generates
kubeconfig
Use kubectl to
access the cluster
Operator
Concourse
PipelineDeveloper
PKS
INSTALL
PKS
CLUSTER
CREATION
PKSCLUSTER
DAYTODAY
ACTIVITY
16
MAP LDAP GROUP
• Grant pks.clusters.admin scope to PKS Operators team by
Log In as a UAA .
uaac group map --name pks.clusters.admin 
CN=pks-cluster-admin,OU=Groups,DC=dsgtech,DC=co
17
ACCESS WORKFLOW
Create and
configure
LDAP groups
Configure
UAA > LDAP
in the PKS tile
Map LDAP
group to UAA
scope using
UAAC
Create a
service user
account in
UAA
Log in to the PKS CLI
as a Cluster Admin
Run pks get-
credentials to
generate kubeconfig
Use kubectl to
create a Admin
ClusterRoleBinding
Run pks get-
kubeconfig
targeting the cluster
PKS CLI generates
kubeconfig
Use kubectl to
access the cluster
Operator
Concourse
PipelineDeveloper
PKS
INSTALL
PKS
CLUSTER
CREATION
PKSCLUSTER
DAYTODAY
ACTIVITY
18
AUTOMATION SERVICE
ACCOUNT
• Grant Enterprise PKS Access to a user by Log In as a UAA
Admin.
uaac user add srv-pksadmin --email 
srv-pksadmin@dsgtech.com -p <password>
uaac member add pks.clusters.admin srv-pksadmin
19
Add-Ons for tiller service account part of cluster provisioning.
PKS ADD-ONS
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: tiller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system
20
Add-Ons for Storage Class
PKS ADD-ONS
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: default
annotations:
storageclass.kubernetes.io/is-default-class: "true"
parameters:
cachingmode: ReadOnly
kind: Managed
storageaccounttype: Standard_LRS
provisioner: kubernetes.io/azure-disk
reclaimPolicy: Delete
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: managed-premium
parameters:
kind: Managed
storageaccounttype: Premium_LRS
provisioner: kubernetes.io/azure-disk
reclaimPolicy: Delete
21
Add-Ons for subdomain nameserver
PKS ADD-ONS
apiVersion: v1
kind: ConfigMap
metadata:
name: kube-dns
namespace: kube-system
data:
stubDomains: |
{"dsgtech.co": ["10.0.8.5"]}
22
ACCESS WORKFLOW
Create and
configure
LDAP groups
Configure
UAA > LDAP
in the PKS tile
Map LDAP
group to UAA
scope using
UAAC
Create a
service user
account in
UAA
Log in to the PKS CLI
as a Cluster Admin
Run pks get-
credentials to
generate kubeconfig
Use kubectl to
create a Admin
ClusterRoleBinding
Run pks get-
kubeconfig
targeting the cluster
PKS CLI generates
kubeconfig
Use kubectl to
access the cluster
Operator
Concourse
PipelineDeveloper
PKS
INSTALL
PKS
CLUSTER
CREATION
PKSCLUSTER
DAYTODAY
ACTIVITY
23
• Concourse Pipeline
• Parameter variable values:
Git:
– git_repo_uri
– git_branch
– git_private_key
PKS:
– pks_api
– pks_cli_username
– pks_cli_password
– pks_env
CONCOURSE PARAMETERS
24
DEMO
25
LINKS
References
https://docs.pivotal.io/pks/1-3/manage-users.html
https://github.com/pivotalservices/concourse-pipeline-
samples/tree/master/pipelines/pcf/pks
GitHub
https://github.com/dsg-tech/pks-onboarding
Careers
https://www.dickssportinggoods.jobs/
Q&A

More Related Content

What's hot (20)

PDF
Producer Performance Tuning for Apache Kafka
Jiangjie Qin
 
PPTX
Kafka Connect - debezium
Kasun Don
 
PPTX
Capture the Streams of Database Changes
confluent
 
PDF
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Databricks
 
PDF
Inside Kafka Streams—Monitoring Comcast’s Outside Plant
confluent
 
PPTX
Migrating with Debezium
Mike Fowler
 
PDF
Kafka tiered-storage-meetup-2022-final-presented
Sumant Tambe
 
PDF
Monitoring kubernetes with prometheus
Brice Fernandes
 
PDF
Fundamentals of Apache Kafka
Chhavi Parasher
 
PDF
ksqlDB - Stream Processing simplified!
Guido Schmutz
 
PDF
Real-Life Use Cases & Architectures for Event Streaming with Apache Kafka
Kai Wähner
 
PDF
Understanding oracle rac internals part 2 - slides
Mohamed Farouk
 
PPTX
Microservices architecture overview v2
Dmitry Skaredov
 
PPTX
Apache Kafka at LinkedIn
Discover Pinterest
 
PPTX
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Jean-Paul Azar
 
PPTX
Apache Kafka Best Practices
DataWorks Summit/Hadoop Summit
 
PDF
Performance Tuning RocksDB for Kafka Streams' State Stores (Dhruba Borthakur,...
confluent
 
PDF
MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
Severalnines
 
PDF
Tame the small files problem and optimize data layout for streaming ingestion...
Flink Forward
 
KEY
NoSQL Databases: Why, what and when
Lorenzo Alberton
 
Producer Performance Tuning for Apache Kafka
Jiangjie Qin
 
Kafka Connect - debezium
Kasun Don
 
Capture the Streams of Database Changes
confluent
 
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Databricks
 
Inside Kafka Streams—Monitoring Comcast’s Outside Plant
confluent
 
Migrating with Debezium
Mike Fowler
 
Kafka tiered-storage-meetup-2022-final-presented
Sumant Tambe
 
Monitoring kubernetes with prometheus
Brice Fernandes
 
Fundamentals of Apache Kafka
Chhavi Parasher
 
ksqlDB - Stream Processing simplified!
Guido Schmutz
 
Real-Life Use Cases & Architectures for Event Streaming with Apache Kafka
Kai Wähner
 
Understanding oracle rac internals part 2 - slides
Mohamed Farouk
 
Microservices architecture overview v2
Dmitry Skaredov
 
Apache Kafka at LinkedIn
Discover Pinterest
 
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Jean-Paul Azar
 
Apache Kafka Best Practices
DataWorks Summit/Hadoop Summit
 
Performance Tuning RocksDB for Kafka Streams' State Stores (Dhruba Borthakur,...
confluent
 
MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
Severalnines
 
Tame the small files problem and optimize data layout for streaming ingestion...
Flink Forward
 
NoSQL Databases: Why, what and when
Lorenzo Alberton
 

Similar to PKS Automation Station...All Aboard: Enabling Team Access to PKS with a Concourse Pipeline (6)

PDF
Cloud-Native Operations with Kubernetes and CI/CD
VMware Tanzu
 
PPTX
PKS Networking with NSX-T: You Focus on your App, We'll Take Care of the Rest!
VMware Tanzu
 
PDF
Developer Secure Containers for the Cyberspace Battlefield
VMware Tanzu
 
PPTX
tanzu-slide.pptx testtanzu-slide.pptx test
pumipatlalun
 
PDF
Building a Kubernetes cluster for a large organisation 101
Ed Schouten
 
PPTX
Building Developer Pipelines with PKS, Harbor, Clair, and Concourse
VMware Tanzu
 
Cloud-Native Operations with Kubernetes and CI/CD
VMware Tanzu
 
PKS Networking with NSX-T: You Focus on your App, We'll Take Care of the Rest!
VMware Tanzu
 
Developer Secure Containers for the Cyberspace Battlefield
VMware Tanzu
 
tanzu-slide.pptx testtanzu-slide.pptx test
pumipatlalun
 
Building a Kubernetes cluster for a large organisation 101
Ed Schouten
 
Building Developer Pipelines with PKS, Harbor, Clair, and Concourse
VMware Tanzu
 
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
VMware Tanzu
 
PDF
What AI Means For Your Product Strategy And What To Do About It
VMware Tanzu
 
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
VMware Tanzu
 
PPTX
Enhancing DevEx and Simplifying Operations at Scale
VMware Tanzu
 
PDF
Spring Update | July 2023
VMware Tanzu
 
PPTX
Platforms, Platform Engineering, & Platform as a Product
VMware Tanzu
 
PPTX
Building Cloud Ready Apps
VMware Tanzu
 
PDF
Spring Boot 3 And Beyond
VMware Tanzu
 
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
VMware Tanzu
 
PPTX
tanzu_developer_connect.pptx
VMware Tanzu
 
PDF
Tanzu Virtual Developer Connect Workshop - French
VMware Tanzu
 
PDF
Tanzu Developer Connect Workshop - English
VMware Tanzu
 
PDF
Virtual Developer Connect Workshop - English
VMware Tanzu
 
PDF
Tanzu Developer Connect - French
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
VMware Tanzu
 
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
VMware Tanzu
 
PDF
SpringOne Tour: The Influential Software Engineer
VMware Tanzu
 
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
VMware Tanzu
 
Spring into AI presented by Dan Vega 5/14
VMware Tanzu
 
What AI Means For Your Product Strategy And What To Do About It
VMware Tanzu
 
Make the Right Thing the Obvious Thing at Cardinal Health 2023
VMware Tanzu
 
Enhancing DevEx and Simplifying Operations at Scale
VMware Tanzu
 
Spring Update | July 2023
VMware Tanzu
 
Platforms, Platform Engineering, & Platform as a Product
VMware Tanzu
 
Building Cloud Ready Apps
VMware Tanzu
 
Spring Boot 3 And Beyond
VMware Tanzu
 
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
VMware Tanzu
 
tanzu_developer_connect.pptx
VMware Tanzu
 
Tanzu Virtual Developer Connect Workshop - French
VMware Tanzu
 
Tanzu Developer Connect Workshop - English
VMware Tanzu
 
Virtual Developer Connect Workshop - English
VMware Tanzu
 
Tanzu Developer Connect - French
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
VMware Tanzu
 
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
VMware Tanzu
 
SpringOne Tour: The Influential Software Engineer
VMware Tanzu
 
SpringOne Tour: Domain-Driven Design: Theory vs Practice
VMware Tanzu
 
Ad

Recently uploaded (20)

PDF
UITP Summit Meep Pitch may 2025 MaaS Rebooted
campoamor1
 
PPTX
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
PPTX
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
PPTX
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
PDF
Latest Capcut Pro 5.9.0 Crack Version For PC {Fully 2025
utfefguu
 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
Best Web development company in india 2025
Greenusys
 
PPTX
UI5con_2025_Accessibility_Ever_Evolving_
gerganakremenska1
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PDF
Simplify React app login with asgardeo-sdk
vaibhav289687
 
PDF
NPD Software -Omnex systems
omnex systems
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
Is Framer the Future of AI Powered No-Code Development?
Isla Pandora
 
UITP Summit Meep Pitch may 2025 MaaS Rebooted
campoamor1
 
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
Latest Capcut Pro 5.9.0 Crack Version For PC {Fully 2025
utfefguu
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Best Web development company in india 2025
Greenusys
 
UI5con_2025_Accessibility_Ever_Evolving_
gerganakremenska1
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
Simplify React app login with asgardeo-sdk
vaibhav289687
 
NPD Software -Omnex systems
omnex systems
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Is Framer the Future of AI Powered No-Code Development?
Isla Pandora
 

PKS Automation Station...All Aboard: Enabling Team Access to PKS with a Concourse Pipeline

  • 1. PKS Automation Station...All Aboard: Enabling Team Access to PKS with a Concourse Pipeline SpringOne Platform October 8, 2019
  • 2. 2 Vaseeharan Seevaratnam Platform Engineer svasee John Paice Senior Platform Engineer @johnny_platform INTRODUCTIONS
  • 3. 3 • DSG’s Container Journey • Challenges • PKS Workloads • Onboarding Prerequisites • Demo! AGENDA
  • 4. 4 • Monolith application to microservices • Teams were were working in silos more collaborative • Buy vs. Build • Cloud Native • Twelve Factor Apps CONTAINER JOURNEY
  • 5. 5 Application Archaeology: Accelerating App Modernization at DICK’S Sporting Goods Today 4:20pm–5:30pm 16AB Pivotal Vanguard Customer Deep Dive Expedition: Pearls of Wisdom Wednesday 4:20pm–5:30pm. 17AB Multi-cloud Deployments Thursday. 9:15am Main Stage #DSGTECH
  • 6. 6 • Team onboarding challenges • Short SLAs • Consistent results • Snowflake effects • Peer code review • PKS Challenges PLATFORM CHALLENGES
  • 7. 7 PKS WORKLOADS • Not all applications fit the same mold – Applications with custom containers – Not twelve factor – Applications that need persistent storage • Kafka • ELK • RabbitMQ
  • 8. 8 • Infrastructure as a code • Easy auditing • Predefined access control • Build repeatable PKS clusters • No snowflakes of servers, all the configurations are version controlled • Minimal administration of the cluster • Delegated access control REQUIREMENTS
  • 9. 9 • Cloud Provider - vSphere, Azure, GCP, AWS • Active Directory LDAP Integration for user access control • Git as a source code repository • Concourse pipeline • PKS SOLUTION
  • 10. 10 ACCESS WORKFLOW Create and configure LDAP groups Configure UAA > LDAP in the PKS tile Map LDAP group to UAA scope using UAAC Create a service user account in UAA Log in to the PKS CLI as a Cluster Admin Run pks get- credentials to generate kubeconfig Use kubectl to create a Admin ClusterRoleBinding Run pks get- kubeconfig targeting the cluster PKS CLI generates kubeconfig Use kubectl to access the cluster Operator Concourse PipelineDeveloper PKS INSTALL PKS CLUSTER CREATION PKSCLUSTER DAYTODAY ACTIVITY
  • 11. 11 ACCESS WORKFLOW Create and configure LDAP groups Configure UAA > LDAP in the PKS tile Map LDAP group to UAA scope using UAAC Create a service user account in UAA Log in to the PKS CLI as a Cluster Admin Run pks get- credentials to generate kubeconfig Use kubectl to create a Admin ClusterRoleBinding Run pks get- kubeconfig targeting the cluster PKS CLI generates kubeconfig Use kubectl to access the cluster Operator Concourse PipelineDeveloper PKS INSTALL PKS CLUSTER CREATION PKSCLUSTER DAYTODAY ACTIVITY
  • 12. 12 LDAP STRUCTURE LDAP Groups and Uses structure for PKS integration: pks-managerpks-cluster-admin pks-cluster-ro [email protected] [email protected]@dsgtech.co K8s Operator K8s Developer K8s Viewer
  • 13. 13 ACCESS WORKFLOW Create and configure LDAP groups Configure UAA > LDAP in the PKS tile Map LDAP group to UAA scope using UAAC Create a service user account in UAA Log in to the PKS CLI as a Cluster Admin Run pks get- credentials to generate kubeconfig Use kubectl to create a Admin ClusterRoleBinding Run pks get- kubeconfig targeting the cluster PKS CLI generates kubeconfig Use kubectl to access the cluster Operator Concourse PipelineDeveloper PKS INSTALL PKS CLUSTER CREATION PKSCLUSTER DAYTODAY ACTIVITY
  • 14. 14 UAA CONFIGURATION • Enable created clusters to use UAA as the OIDC provider. Login to Ops Manager and perform following configurations on PKS UAA: • Configure PKS UAA to use LDAP Server as external authentication mechanisms.
  • 15. 15 ACCESS WORKFLOW Create and configure LDAP groups Configure UAA > LDAP in the PKS tile Map LDAP group to UAA scope using UAAC Create a service user account in UAA Log in to the PKS CLI as a Cluster Admin Run pks get- credentials to generate kubeconfig Use kubectl to create a Admin ClusterRoleBinding Run pks get- kubeconfig targeting the cluster PKS CLI generates kubeconfig Use kubectl to access the cluster Operator Concourse PipelineDeveloper PKS INSTALL PKS CLUSTER CREATION PKSCLUSTER DAYTODAY ACTIVITY
  • 16. 16 MAP LDAP GROUP • Grant pks.clusters.admin scope to PKS Operators team by Log In as a UAA . uaac group map --name pks.clusters.admin CN=pks-cluster-admin,OU=Groups,DC=dsgtech,DC=co
  • 17. 17 ACCESS WORKFLOW Create and configure LDAP groups Configure UAA > LDAP in the PKS tile Map LDAP group to UAA scope using UAAC Create a service user account in UAA Log in to the PKS CLI as a Cluster Admin Run pks get- credentials to generate kubeconfig Use kubectl to create a Admin ClusterRoleBinding Run pks get- kubeconfig targeting the cluster PKS CLI generates kubeconfig Use kubectl to access the cluster Operator Concourse PipelineDeveloper PKS INSTALL PKS CLUSTER CREATION PKSCLUSTER DAYTODAY ACTIVITY
  • 18. 18 AUTOMATION SERVICE ACCOUNT • Grant Enterprise PKS Access to a user by Log In as a UAA Admin. uaac user add srv-pksadmin --email [email protected] -p <password> uaac member add pks.clusters.admin srv-pksadmin
  • 19. 19 Add-Ons for tiller service account part of cluster provisioning. PKS ADD-ONS apiVersion: v1 kind: ServiceAccount metadata: name: tiller namespace: kube-system apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: name: tiller roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: tiller namespace: kube-system
  • 20. 20 Add-Ons for Storage Class PKS ADD-ONS apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: default annotations: storageclass.kubernetes.io/is-default-class: "true" parameters: cachingmode: ReadOnly kind: Managed storageaccounttype: Standard_LRS provisioner: kubernetes.io/azure-disk reclaimPolicy: Delete apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: managed-premium parameters: kind: Managed storageaccounttype: Premium_LRS provisioner: kubernetes.io/azure-disk reclaimPolicy: Delete
  • 21. 21 Add-Ons for subdomain nameserver PKS ADD-ONS apiVersion: v1 kind: ConfigMap metadata: name: kube-dns namespace: kube-system data: stubDomains: | {"dsgtech.co": ["10.0.8.5"]}
  • 22. 22 ACCESS WORKFLOW Create and configure LDAP groups Configure UAA > LDAP in the PKS tile Map LDAP group to UAA scope using UAAC Create a service user account in UAA Log in to the PKS CLI as a Cluster Admin Run pks get- credentials to generate kubeconfig Use kubectl to create a Admin ClusterRoleBinding Run pks get- kubeconfig targeting the cluster PKS CLI generates kubeconfig Use kubectl to access the cluster Operator Concourse PipelineDeveloper PKS INSTALL PKS CLUSTER CREATION PKSCLUSTER DAYTODAY ACTIVITY
  • 23. 23 • Concourse Pipeline • Parameter variable values: Git: – git_repo_uri – git_branch – git_private_key PKS: – pks_api – pks_cli_username – pks_cli_password – pks_env CONCOURSE PARAMETERS
  • 26. Q&A