๐ŸŽฏ ืžื˜ืจื”


ืฉืœื‘ 1 โ€” ื™ืฆื™ืจืช ExternalName Service

ืงื•ื‘ืฅ ื—ื“ืฉ:

google-externalname.yaml

ืชื•ื›ืŸ:

apiVersion: v1
kind: Service
metadata:
  name: my-external-svc
spec:
  type: ExternalName
  externalName: google.com

โš  ื—ืฉื•ื‘:

ืœื ืœืจืฉื•ื https://google.com

ืจืง google.com


ืฉืœื‘ 2 โ€” Apply

kubectl apply -f google-externalname.yaml

ื‘ื“ื™ืงื”: