Scale an application manually
Manually scale the minion application in the gru project to a total of 5 replicas.
Create a CronJob test-cron
Task information Details:
Create service account jupiter .
Grant anyuid SCC and cluster- admin to it.
Update CronJob cron-test to use that service account.
Configure quotas
Configure your OpenShift cluster to use quotas in the manhattan project with the following requirements:
The name of the ResourceQuota resource is: ex280-quota
The amount of memory consumed across all containers may not exceed 1Gi
The total amount of CPU usage consumed across all containers may not exceed
2 full cores
The maximum number of replication controllers does not exceed 3 The maximum number of pods does not exceed 3
The maximum number of services does not exceed 6
Autoscale of Pods
Task information Details:
Create an HPA for httpd with min=2 , max=9 , and CPU target 60% .
Set resource requests on the httpd deployment so autoscaling can function properly.
Configure a secret
Configure a secret in the math project with the following requirements: The name of the secret is: magic
The secret defines a key with name: decoder_ring The secret defines the key with value:
XpWy9KdcP3Tr9FFHGQgZgVRCKukQdrQsbcl0c2ZYhDk=
Manage Cluster Project and Permission
Task information Details:
Create projects apollo , test , and demo .
Grant bob the cluster-admin role.
Prevent ordinary authenticated users from self-provisioning projects.
Allow john to create projects.
Give natasha view-only access to test and apollo .
Give armstrong admin access to apollo .
Remove the kubeadmin user secret.