This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: win-webserver | |
labels: | |
app: win-webserver | |
spec: | |
ports: | |
# the port that this service should serve on | |
- port: 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 describe-images \ | |
--filters Name=name,Values=Windows_Server-2019-English-Full-ContainersLatest-2020.09.09 \ | |
--region us-east-2 \ | |
--query 'Images[*].[ImageId]' \ | |
--output=json | jq .[0][0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: machine.openshift.io/v1beta1 | |
kind: MachineSet | |
metadata: | |
labels: | |
machine.openshift.io/cluster-api-cluster: emre-bpsq7 | |
name:emre-bpsq7-windows-worker-us-east-2a | |
namespace: openshift-machine-api | |
spec: | |
replicas: 1 | |
selector: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@rhel7 ~]# oc describe imagemanifestvulns "sha256.d1385d23a60205636bc3789b0127d6159d33d7a7521dd07d6b679b7f734ee4b3" | |
Name: sha256.d1385d23a60205636bc3789b0127d6159d33d7a7521dd07d6b679b7f734ee4b3 | |
Namespace: emre | |
Labels: emre/argocd-operator-75ddbcb9dd-w99jj=true | |
Annotations: <none> | |
API Version: secscan.quay.redhat.com/v1alpha1 | |
Kind: ImageManifestVuln | |
Metadata: | |
Creation Timestamp: 2020-05-20T12:37:49Z | |
Generation: 17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@rhel7 ~]# oc get imagemanifestvulns | |
NAME AGE | |
sha256.d1385d23a60205636bc3789b0127d6159d33d7a7521dd07d6b679b7f734ee4b3 20h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@rhel7 ~]# skopeo delete docker://example-quayecosystem-quay-quay.apps.emretst.lp.int/quay/ubi-init:latest --tls-verify=false --creds quay:password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@rhel7 ~]# skopeo copy docker://registry.access.redhat.com/ubi8-init docker://example-quayecosystem-quay-quay.apps.emretst.lp.int/quay/ubi-init:latest --dest-tls-verify=false --dest-creds quay:password | |
Getting image source signatures | |
Copying blob f544909c6b5a done | |
Copying blob 58e1deb9693d done | |
Copying blob 78afc5364ad2 done | |
Copying config a858c9c7ea done | |
Writing manifest to image destination | |
Storing signatures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@rhel7 ~]# skopeo inspect docker://registry.fedoraproject.org/fedora:latest | |
{ | |
"Name": "registry.fedoraproject.org/fedora", | |
"Digest": "sha256:d84ad27a3055f11cf2d34e611b8d14aada444e1e71866ea6a076b773aeac3c93", | |
"RepoTags": [ | |
"24", | |
"25", | |
"26-modular", | |
"26", | |
"27-aarch64", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[emre@rhel crc-linux-1.9.0-amd64]$ ./crc start | |
INFO Checking if oc binary is cached | |
INFO Checking if podman remote binary is cached | |
INFO Checking if running as non-root | |
INFO Checking if Virtualization is enabled | |
INFO Checking if KVM is enabled | |
INFO Checking if libvirt is installed | |
INFO Checking if user is part of libvirt group | |
INFO Checking if libvirt is enabled | |
INFO Checking if libvirt daemon is running |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[emre@rhel crc-linux-1.9.0-amd64]$ ./crc setup | |
INFO Checking if oc binary is cached | |
INFO Checking if podman remote binary is cached | |
INFO Checking if CRC bundle is cached in '$HOME/.crc' | |
INFO Checking if running as non-root | |
INFO Checking if Virtualization is enabled | |
INFO Checking if KVM is enabled | |
INFO Checking if libvirt is installed | |
INFO Installing libvirt service and dependencies | |
INFO Will use root access: install virtualization related packages |