Deploying offending workloads
To trigger recommendations and threat alerts in Azure Security Center, you will need to have offending workloads deployed on your cluster. In this section, you will deploy a number of workloads to your cluster that are either not configured according to best practices or even contain potentially malicious software such as crypto-miners. Let's have a look at the examples of offending workloads you can find in the code samples for this chapter:
crypto-miner.yaml
: This file contains a deployment that will create a crypto-miner on your cluster.1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: crypto-miner 5 labels: 6 app: mining 7 spec: 8 replicas: 1 9 selector: 10 matchLabels...