12.5. 验证部署
部署 S3 存储桶资源:
$ cat << EOF | oc apply -f - apiVersion: s3.services.k8s.aws/v1alpha1 kind: Bucket metadata: name: ${CLUSTER-NAME}-bucket namespace: ack-system spec: name: ${CLUSTER-NAME}-bucket EOF
验证 AWS 中 S3 存储桶是否已创建:
$ aws s3 ls | grep ${CLUSTER_NAME}-bucket
输出示例
2023-10-04 14:51:45 mrmc-test-maz-bucket